C# 클래스 Amazon.CloudWatchLogs.Model.PutRetentionPolicyRequest

Container for the parameters to the PutRetentionPolicy operation. Sets the retention of the specified log group. A retention policy allows you to configure the number of days you want to retain log events in the specified log group.
상속: AmazonCloudWatchLogsRequest
파일 보기 프로젝트 열기: aws/aws-sdk-net 1 사용 예제들

공개 메소드들

메소드 설명
PutRetentionPolicyRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

PutRetentionPolicyRequest ( string logGroupName, int retentionInDays ) : System

Instantiates PutRetentionPolicyRequest with the parameterized properties

비공개 메소드들

메소드 설명
IsSetLogGroupName ( ) : bool
IsSetRetentionInDays ( ) : bool

메소드 상세

PutRetentionPolicyRequest() 공개 메소드

Empty constructor used to set properties independently even when a simple constructor is available
public PutRetentionPolicyRequest ( ) : System
리턴 System

PutRetentionPolicyRequest() 공개 메소드

Instantiates PutRetentionPolicyRequest with the parameterized properties
public PutRetentionPolicyRequest ( string logGroupName, int retentionInDays ) : System
logGroupName string The name of the log group.
retentionInDays int Sets the PutRetentionPolicyRequest RetentionInDays property
리턴 System