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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateAutomatedReasoningPolicyVersionRequest.BuilderclientRequestToken(String clientRequestToken)A unique, case-sensitive identifier to ensure that the operation completes no more than one time.CreateAutomatedReasoningPolicyVersionRequest.BuilderlastUpdatedDefinitionHash(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.CreateAutomatedReasoningPolicyVersionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateAutomatedReasoningPolicyVersionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateAutomatedReasoningPolicyVersionRequest.BuilderpolicyArn(String policyArn)The Amazon Resource Name (ARN) of the Automated Reasoning policy for which to create a version.CreateAutomatedReasoningPolicyVersionRequest.Buildertags(Collection<Tag> tags)A list of tags to associate with the policy version.CreateAutomatedReasoningPolicyVersionRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of tags to associate with the policy version.CreateAutomatedReasoningPolicyVersionRequest.Buildertags(Tag... tags)A list of tags to associate with the policy version.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
policyArn
CreateAutomatedReasoningPolicyVersionRequest.Builder policyArn(String 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
CreateAutomatedReasoningPolicyVersionRequest.Builder clientRequestToken(String 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
CreateAutomatedReasoningPolicyVersionRequest.Builder tags(Collection<Tag> 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
CreateAutomatedReasoningPolicyVersionRequest.Builder tags(Tag... 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
CreateAutomatedReasoningPolicyVersionRequest.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
CreateAutomatedReasoningPolicyVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateAutomatedReasoningPolicyVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-