Interface UpdatePolicyStoreRequest.Builder

  • Method Details

    • policyStoreId

      UpdatePolicyStoreRequest.Builder policyStoreId(String policyStoreId)

      Specifies the ID of the policy store that you want to update

      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 you want to update

      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.
    • validationSettings

      UpdatePolicyStoreRequest.Builder validationSettings(ValidationSettings validationSettings)

      A structure that defines the validation settings that want to enable for the policy store.

      Parameters:
      validationSettings - A structure that defines the validation settings that want to enable for the policy store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • validationSettings

      default UpdatePolicyStoreRequest.Builder validationSettings(Consumer<ValidationSettings.Builder> validationSettings)

      A structure that defines the validation settings that want to enable for the policy store.

      This is a convenience method that creates an instance of the ValidationSettings.Builder avoiding the need to create one manually via ValidationSettings.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to validationSettings(ValidationSettings).

      Parameters:
      validationSettings - a consumer that will call methods on ValidationSettings.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deletionProtection

      UpdatePolicyStoreRequest.Builder deletionProtection(String deletionProtection)

      Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted.

      When you call UpdatePolicyStore, this parameter is unchanged unless explicitly included in the call.

      Parameters:
      deletionProtection - Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted.

      When you call UpdatePolicyStore, this parameter is unchanged unless explicitly included in the call.

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

      UpdatePolicyStoreRequest.Builder deletionProtection(DeletionProtection deletionProtection)

      Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted.

      When you call UpdatePolicyStore, this parameter is unchanged unless explicitly included in the call.

      Parameters:
      deletionProtection - Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted.

      When you call UpdatePolicyStore, this parameter is unchanged unless explicitly included in the call.

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

      UpdatePolicyStoreRequest.Builder description(String description)

      Descriptive text that you can provide to help with identification of the current policy store.

      Parameters:
      description - Descriptive text that you can provide to help with identification of the current policy store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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