Interface DeletePolicyResponse.Builder

  • Method Details

    • policyId

      The unique identifier of the policy being deleted. This confirms which policy the deletion operation targets.

      Parameters:
      policyId - The unique identifier of the policy being deleted. This confirms which policy the deletion operation targets.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The customer-assigned name of the deleted policy. This confirms which policy was successfully removed from the system and matches the name that was originally assigned during policy creation.

      Parameters:
      name - The customer-assigned name of the deleted policy. This confirms which policy was successfully removed from the system and matches the name that was originally assigned during policy creation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyEngineId

      DeletePolicyResponse.Builder policyEngineId(String policyEngineId)

      The identifier of the policy engine from which the policy was deleted. This confirms the policy engine context for the deletion operation.

      Parameters:
      policyEngineId - The identifier of the policy engine from which the policy was deleted. This confirms the policy engine context for the deletion operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • definition

      Sets the value of the Definition property for this object.
      Parameters:
      definition - The new value for the Definition property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • definition

      Sets the value of the Definition property for this object. This is a convenience method that creates an instance of the PolicyDefinition.Builder avoiding the need to create one manually via PolicyDefinition.builder().

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

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

      DeletePolicyResponse.Builder description(String description)

      The human-readable description of the deleted policy.

      Parameters:
      description - The human-readable description of the deleted policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      DeletePolicyResponse.Builder createdAt(Instant createdAt)

      The timestamp when the deleted policy was originally created.

      Parameters:
      createdAt - The timestamp when the deleted policy was originally created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      DeletePolicyResponse.Builder updatedAt(Instant updatedAt)

      The timestamp when the deleted policy was last modified before deletion. This tracks the final state of the policy before it was removed from the system.

      Parameters:
      updatedAt - The timestamp when the deleted policy was last modified before deletion. This tracks the final state of the policy before it was removed from the system.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyArn

      DeletePolicyResponse.Builder policyArn(String policyArn)

      The Amazon Resource Name (ARN) of the deleted policy. This globally unique identifier confirms which policy resource was successfully removed.

      Parameters:
      policyArn - The Amazon Resource Name (ARN) of the deleted policy. This globally unique identifier confirms which policy resource was successfully removed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the policy deletion operation. This provides information about any issues that occurred during the deletion process.

      Parameters:
      status - The status of the policy deletion operation. This provides information about any issues that occurred during the deletion process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the policy deletion operation. This provides information about any issues that occurred during the deletion process.

      Parameters:
      status - The status of the policy deletion operation. This provides information about any issues that occurred during the deletion process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusReasons

      DeletePolicyResponse.Builder statusReasons(Collection<String> statusReasons)

      Additional information about the deletion status. This provides details about the deletion process or any issues that may have occurred.

      Parameters:
      statusReasons - Additional information about the deletion status. This provides details about the deletion process or any issues that may have occurred.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusReasons

      DeletePolicyResponse.Builder statusReasons(String... statusReasons)

      Additional information about the deletion status. This provides details about the deletion process or any issues that may have occurred.

      Parameters:
      statusReasons - Additional information about the deletion status. This provides details about the deletion process or any issues that may have occurred.
      Returns:
      Returns a reference to this object so that method calls can be chained together.