Interface CreateAutomatedReasoningPolicyVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockRequest.Builder,Buildable,CopyableBuilder<CreateAutomatedReasoningPolicyVersionRequest.Builder,,CreateAutomatedReasoningPolicyVersionRequest> SdkBuilder<CreateAutomatedReasoningPolicyVersionRequest.Builder,,CreateAutomatedReasoningPolicyVersionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateAutomatedReasoningPolicyVersionRequest
@Mutable
@NotThreadSafe
public static interface CreateAutomatedReasoningPolicyVersionRequest.Builder
extends BedrockRequest.Builder, SdkPojo, CopyableBuilder<CreateAutomatedReasoningPolicyVersionRequest.Builder,CreateAutomatedReasoningPolicyVersionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken(String clientRequestToken) A unique, case-sensitive identifier to ensure that the operation completes no more than one time.lastUpdatedDefinitionHash(String lastUpdatedDefinitionHash) The hash of the current policy definition used as a concurrency token to ensure the policy hasn't been modified since you last retrieved it.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the Automated Reasoning policy for which to create a version.tags(Collection<Tag> tags) A list of tags to associate with the policy version.tags(Consumer<Tag.Builder>... tags) A list of tags to associate with the policy version.A list of tags to associate with the policy version.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
policyArn
The Amazon Resource Name (ARN) of the Automated Reasoning policy for which to create a version.
- Parameters:
policyArn- The Amazon Resource Name (ARN) of the Automated Reasoning policy for which to create a version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.
- Parameters:
clientRequestToken- A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedDefinitionHash
CreateAutomatedReasoningPolicyVersionRequest.Builder lastUpdatedDefinitionHash(String lastUpdatedDefinitionHash) The hash of the current policy definition used as a concurrency token to ensure the policy hasn't been modified since you last retrieved it.
- Parameters:
lastUpdatedDefinitionHash- The hash of the current policy definition used as a concurrency token to ensure the policy hasn't been modified since you last retrieved it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to associate with the policy version.
- Parameters:
tags- A list of tags to associate with the policy version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to associate with the policy version.
- Parameters:
tags- A list of tags to associate with the policy version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to associate with the policy version.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateAutomatedReasoningPolicyVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateAutomatedReasoningPolicyVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-