Interface UpdatePolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreControlResponse.Builder,Buildable,CopyableBuilder<UpdatePolicyResponse.Builder,,UpdatePolicyResponse> SdkBuilder<UpdatePolicyResponse.Builder,,UpdatePolicyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdatePolicyResponse
@Mutable
@NotThreadSafe
public static interface UpdatePolicyResponse.Builder
extends BedrockAgentCoreControlResponse.Builder, SdkPojo, CopyableBuilder<UpdatePolicyResponse.Builder,UpdatePolicyResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe original creation timestamp of the policy.default UpdatePolicyResponse.Builderdefinition(Consumer<PolicyDefinition.Builder> definition) The updated Cedar policy statement.definition(PolicyDefinition definition) The updated Cedar policy statement.description(String description) The updated description of the policy.The name of the updated policy.The ARN of the updated policy.policyEngineId(String policyEngineId) The identifier of the policy engine managing the updated policy.The unique identifier of the updated policy.The current status of the updated policy.status(PolicyStatus status) The current status of the updated policy.statusReasons(String... statusReasons) Additional information about the update status.statusReasons(Collection<String> statusReasons) Additional information about the update status.The timestamp when the policy was last updated.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 updated policy.
- Parameters:
policyId- The unique identifier of the updated policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the updated policy.
- Parameters:
name- The name of the updated policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyEngineId
The identifier of the policy engine managing the updated policy.
- Parameters:
policyEngineId- The identifier of the policy engine managing the updated policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
The updated Cedar policy statement.
- Parameters:
definition- The updated Cedar policy statement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
The updated Cedar policy statement.
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 updated description of the policy.
- Parameters:
description- The updated description of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The original creation timestamp of the policy.
- Parameters:
createdAt- The original creation timestamp of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when the policy was last updated.
- Parameters:
updatedAt- The timestamp when the policy was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyArn
The ARN of the updated policy.
- Parameters:
policyArn- The ARN of the updated policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the updated policy.
- Parameters:
status- The current status of the updated policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the updated policy.
- Parameters:
status- The current status of the updated policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReasons
Additional information about the update status.
- Parameters:
statusReasons- Additional information about the update status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusReasons
Additional information about the update status.
- Parameters:
statusReasons- Additional information about the update status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-