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 Details

    • 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

      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 PutPolicy action returns an InvalidPolicyException. 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, the PutPolicy action returns an InvalidPolicyException. 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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.