Interface AddPolicyStatementResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AddPolicyStatementResponse.Builder,AddPolicyStatementResponse>,EntityResolutionResponse.Builder,SdkBuilder<AddPolicyStatementResponse.Builder,AddPolicyStatementResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- AddPolicyStatementResponse
public static interface AddPolicyStatementResponse.Builder extends EntityResolutionResponse.Builder, SdkPojo, CopyableBuilder<AddPolicyStatementResponse.Builder,AddPolicyStatementResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AddPolicyStatementResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the resource that will be accessed by the principal.AddPolicyStatementResponse.Builderpolicy(String policy)The resource-based policy.AddPolicyStatementResponse.Buildertoken(String token)A unique identifier for the current revision of the policy.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.entityresolution.model.EntityResolutionResponse.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
-
arn
AddPolicyStatementResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the resource that will be accessed by the principal.
- Parameters:
arn- The Amazon Resource Name (ARN) of the resource that will be accessed by the principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
AddPolicyStatementResponse.Builder policy(String policy)
The resource-based policy.
- Parameters:
policy- The resource-based policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
token
AddPolicyStatementResponse.Builder token(String token)
A unique identifier for the current revision of the policy.
- Parameters:
token- A unique identifier for the current revision of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-