Interface GetResourcePolicyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>,DynamoDbResponse.Builder,SdkBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetResourcePolicyResponse
@Mutable @NotThreadSafe public static interface GetResourcePolicyResponse.Builder extends DynamoDbResponse.Builder, SdkPojo, CopyableBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetResourcePolicyResponse.Builderpolicy(String policy)The resource-based policy document attached to the resource, which can be a table or stream, in JSON format.GetResourcePolicyResponse.BuilderrevisionId(String revisionId)A unique string that represents the revision ID of the policy.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
policy
GetResourcePolicyResponse.Builder policy(String policy)
The resource-based policy document attached to the resource, which can be a table or stream, in JSON format.
- Parameters:
policy- The resource-based policy document attached to the resource, which can be a table or stream, in JSON format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionId
GetResourcePolicyResponse.Builder revisionId(String revisionId)
A unique string that represents the revision ID of the policy. If you're comparing revision IDs, make sure to always use string comparison logic.
- Parameters:
revisionId- A unique string that represents the revision ID of the policy. If you're comparing revision IDs, make sure to always use string comparison logic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-