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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeResourcePolicyResponse.BuildercreationTime(Instant creationTime)The time at which the policy was created.DescribeResourcePolicyResponse.BuilderlastModifiedTime(Instant lastModifiedTime)The time at which the policy was last modified.DescribeResourcePolicyResponse.BuilderpolicyRevisionId(String policyRevisionId)The revision ID of the policy.DescribeResourcePolicyResponse.BuilderresourcePolicy(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 Detail
-
resourcePolicy
DescribeResourcePolicyResponse.Builder resourcePolicy(String 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
DescribeResourcePolicyResponse.Builder creationTime(Instant 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
DescribeResourcePolicyResponse.Builder lastModifiedTime(Instant 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
DescribeResourcePolicyResponse.Builder policyRevisionId(String 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.
-
-