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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutPolicyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutPolicyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)PutPolicyRequest.Builderpolicy(String policy)The path and file name of a JSON-formatted IAM policy to attach to the specified private CA resource.PutPolicyRequest.BuilderresourceArn(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
build
-
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.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
resourceArn
PutPolicyRequest.Builder resourceArn(String 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
PutPolicyRequest.Builder policy(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-