Interface DescribeResourcePolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ComprehendResponse.Builder
,CopyableBuilder<DescribeResourcePolicyResponse.Builder,
,DescribeResourcePolicyResponse> SdkBuilder<DescribeResourcePolicyResponse.Builder,
,DescribeResourcePolicyResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeResourcePolicyResponse
public static interface DescribeResourcePolicyResponse.Builder
extends ComprehendResponse.Builder, SdkPojo, CopyableBuilder<DescribeResourcePolicyResponse.Builder,DescribeResourcePolicyResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The time at which the policy was created.lastModifiedTime
(Instant lastModifiedTime) The time at which the policy was last modified.policyRevisionId
(String policyRevisionId) The revision ID of the policy.resourcePolicy
(String resourcePolicy) The JSON body of the resource-based policy.Methods inherited from interface software.amazon.awssdk.services.comprehend.model.ComprehendResponse.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
-
resourcePolicy
The JSON body of the resource-based policy.
- Parameters:
resourcePolicy
- The JSON body of the resource-based policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The time at which the policy was created.
- Parameters:
creationTime
- The time at which the policy was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The time at which the policy was last modified.
- Parameters:
lastModifiedTime
- The time at which the policy was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyRevisionId
The revision ID of the policy. Each time you modify a policy, Amazon Comprehend assigns a new revision ID, and it deletes the prior version of the policy.
- Parameters:
policyRevisionId
- The revision ID of the policy. Each time you modify a policy, Amazon Comprehend assigns a new revision ID, and it deletes the prior version of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-