Interface GetDataProtectionPolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudWatchLogsResponse.Builder
,CopyableBuilder<GetDataProtectionPolicyResponse.Builder,
,GetDataProtectionPolicyResponse> SdkBuilder<GetDataProtectionPolicyResponse.Builder,
,GetDataProtectionPolicyResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetDataProtectionPolicyResponse
public static interface GetDataProtectionPolicyResponse.Builder
extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<GetDataProtectionPolicyResponse.Builder,GetDataProtectionPolicyResponse>
-
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 document for this log group.Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods 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 document for this log group.
- Parameters:
policyDocument
- The data protection policy document 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.
-