public static interface PutRetentionPolicyRequest.Builder extends CloudWatchLogsRequest.Builder, CopyableBuilder<PutRetentionPolicyRequest.Builder,PutRetentionPolicyRequest>
Modifier and Type | Method and Description |
---|---|
PutRetentionPolicyRequest.Builder |
logGroupName(String logGroupName)
The name of the log group.
|
PutRetentionPolicyRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
PutRetentionPolicyRequest.Builder |
retentionInDays(Integer retentionInDays)
Sets the value of the RetentionInDays property for this object.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
PutRetentionPolicyRequest.Builder logGroupName(String logGroupName)
The name of the log group.
logGroupName
- The name of the log group.PutRetentionPolicyRequest.Builder retentionInDays(Integer retentionInDays)
retentionInDays
- The new value for the RetentionInDays property for this object.PutRetentionPolicyRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.