Interface PutPolicyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutPolicyRequest.Builder,PutPolicyRequest>,EntityResolutionRequest.Builder,SdkBuilder<PutPolicyRequest.Builder,PutPolicyRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutPolicyRequest
public static interface PutPolicyRequest.Builder extends EntityResolutionRequest.Builder, SdkPojo, CopyableBuilder<PutPolicyRequest.Builder,PutPolicyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutPolicyRequest.Builderarn(String arn)The Amazon Resource Name (ARN) of the resource for which the policy needs to be updated.PutPolicyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutPolicyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)PutPolicyRequest.Builderpolicy(String policy)The resource-based policy.PutPolicyRequest.Buildertoken(String token)A unique identifier for the current revision of the policy.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.entityresolution.model.EntityResolutionRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
arn
PutPolicyRequest.Builder arn(String arn)
The Amazon Resource Name (ARN) of the resource for which the policy needs to be updated.
- Parameters:
arn- The Amazon Resource Name (ARN) of the resource for which the policy needs to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
PutPolicyRequest.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
PutPolicyRequest.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.
-
overrideConfiguration
PutPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-