Interface DeletePolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreControlResponse.Builder,Buildable,CopyableBuilder<DeletePolicyResponse.Builder,,DeletePolicyResponse> SdkBuilder<DeletePolicyResponse.Builder,,DeletePolicyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DeletePolicyResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp when the deleted policy was originally created.default DeletePolicyResponse.Builderdefinition(Consumer<PolicyDefinition.Builder> definition) Sets the value of the Definition property for this object.definition(PolicyDefinition definition) Sets the value of the Definition property for this object.description(String description) The human-readable description of the deleted policy.The customer-assigned name of the deleted policy.The Amazon Resource Name (ARN) of the deleted policy.policyEngineId(String policyEngineId) The identifier of the policy engine from which the policy was deleted.The unique identifier of the policy being deleted.The status of the policy deletion operation.status(PolicyStatus status) The status of the policy deletion operation.statusReasons(String... statusReasons) Additional information about the deletion status.statusReasons(Collection<String> statusReasons) Additional information about the deletion status.The timestamp when the deleted policy was last modified before deletion.Methods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
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 thePolicyDefinition.Builderavoiding the need to create one manually viaPolicyDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefinition(PolicyDefinition).- Parameters:
definition- a consumer that will call methods onPolicyDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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
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
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.
-