Interface PutClusterPolicyRequest.Builder

  • Method Details

    • identifier

      PutClusterPolicyRequest.Builder identifier(String identifier)
      Sets the value of the Identifier property for this object.
      Parameters:
      identifier - The new value for the Identifier property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policy

      The resource-based policy document to attach to the cluster. This should be a valid JSON policy document that defines permissions and conditions.

      Parameters:
      policy - The resource-based policy document to attach to the cluster. This should be a valid JSON policy document that defines permissions and conditions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bypassPolicyLockoutSafetyCheck

      PutClusterPolicyRequest.Builder bypassPolicyLockoutSafetyCheck(Boolean bypassPolicyLockoutSafetyCheck)

      A flag that allows you to bypass the policy lockout safety check. When set to true, this parameter allows you to apply a policy that might lock you out of the cluster. Use with caution.

      Parameters:
      bypassPolicyLockoutSafetyCheck - A flag that allows you to bypass the policy lockout safety check. When set to true, this parameter allows you to apply a policy that might lock you out of the cluster. Use with caution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expectedPolicyVersion

      PutClusterPolicyRequest.Builder expectedPolicyVersion(String expectedPolicyVersion)

      The expected version of the current policy. This parameter ensures that you're updating the correct version of the policy and helps prevent concurrent modification conflicts.

      Parameters:
      expectedPolicyVersion - The expected version of the current policy. This parameter ensures that you're updating the correct version of the policy and helps prevent concurrent modification conflicts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      PutClusterPolicyRequest.Builder clientToken(String clientToken)
      Sets the value of the ClientToken property for this object.
      Parameters:
      clientToken - The new value for the ClientToken property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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