Interface DeletePolicyRequest.Builder

  • Method Details

    • policyStoreId

      DeletePolicyRequest.Builder policyStoreId(String policyStoreId)

      Specifies the ID of the policy store that contains the policy that you want to delete.

      To specify a policy store, use its ID or alias name. When using an alias name, prefix it with policy-store-alias/. For example:

      • ID: PSEXAMPLEabcdefg111111

      • Alias name: policy-store-alias/example-policy-store

      To view aliases, use ListPolicyStoreAliases.

      Parameters:
      policyStoreId - Specifies the ID of the policy store that contains the policy that you want to delete.

      To specify a policy store, use its ID or alias name. When using an alias name, prefix it with policy-store-alias/. For example:

      • ID: PSEXAMPLEabcdefg111111

      • Alias name: policy-store-alias/example-policy-store

      To view aliases, use ListPolicyStoreAliases.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyId

      DeletePolicyRequest.Builder policyId(String policyId)

      Specifies the ID of the policy that you want to delete.

      You can use the policy name in place of the policy ID. When using a name, prefix it with name/. For example:

      • ID: SPEXAMPLEabcdefg111111

      • Name: name/example-policy

      Parameters:
      policyId - Specifies the ID of the policy that you want to delete.

      You can use the policy name in place of the policy ID. When using a name, prefix it with name/. For example:

      • ID: SPEXAMPLEabcdefg111111

      • Name: name/example-policy

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      DeletePolicyRequest.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.