Interface PutPolicyRequest.Builder
- All Superinterfaces:
AcmPcaRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<PutPolicyRequest.Builder,,PutPolicyRequest> SdkBuilder<PutPolicyRequest.Builder,,PutPolicyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutPolicyRequest
public static interface PutPolicyRequest.Builder
extends AcmPcaRequest.Builder, SdkPojo, CopyableBuilder<PutPolicyRequest.Builder,PutPolicyRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The path and file name of a JSON-formatted IAM policy to attach to the specified private CA resource.resourceArn(String resourceArn) The Amazon Resource Number (ARN) of the private CA to associate with the policy.Methods inherited from interface software.amazon.awssdk.services.acmpca.model.AcmPcaRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
resourceArn
The Amazon Resource Number (ARN) of the private CA to associate with the policy. The ARN of the CA can be found by calling the ListCertificateAuthorities action.
- Parameters:
resourceArn- The Amazon Resource Number (ARN) of the private CA to associate with the policy. The ARN of the CA can be found by calling the ListCertificateAuthorities action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
The path and file name of a JSON-formatted IAM policy to attach to the specified private CA resource. If this policy does not contain all required statements or if it includes any statement that is not allowed, the
PutPolicyaction returns anInvalidPolicyException. For information about IAM policy and statement structure, see Overview of JSON Policies.- Parameters:
policy- The path and file name of a JSON-formatted IAM policy to attach to the specified private CA resource. If this policy does not contain all required statements or if it includes any statement that is not allowed, thePutPolicyaction returns anInvalidPolicyException. For information about IAM policy and statement structure, see Overview of JSON Policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-