Interface PutDataProtectionPolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchLogsResponse.Builder,CopyableBuilder<PutDataProtectionPolicyResponse.Builder,,PutDataProtectionPolicyResponse> SdkBuilder<PutDataProtectionPolicyResponse.Builder,,PutDataProtectionPolicyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PutDataProtectionPolicyResponse
public static interface PutDataProtectionPolicyResponse.Builder
extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<PutDataProtectionPolicyResponse.Builder,PutDataProtectionPolicyResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlastUpdatedTime(Long lastUpdatedTime) The date and time that this policy was most recently updated.logGroupIdentifier(String logGroupIdentifier) The log group name or ARN that you specified in your request.policyDocument(String policyDocument) The data protection policy used for this log group.Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
logGroupIdentifier
The log group name or ARN that you specified in your request.
- Parameters:
logGroupIdentifier- The log group name or ARN that you specified in your request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyDocument
The data protection policy used for this log group.
- Parameters:
policyDocument- The data protection policy used for this log group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
The date and time that this policy was most recently updated.
- Parameters:
lastUpdatedTime- The date and time that this policy was most recently updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-