Interface GetResourcePolicyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>
,DynamoDbResponse.Builder
,SdkBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- GetResourcePolicyResponse
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.Builder
policy(String policy)
The resource-based policy document attached to the resource, which can be a table or stream, in JSON format.GetResourcePolicyResponse.Builder
revisionId(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, 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 are 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 are 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.
-
-