Interface CreateModelCopyJobRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BedrockRequest.Builder,Buildable,CopyableBuilder<CreateModelCopyJobRequest.Builder,CreateModelCopyJobRequest>,SdkBuilder<CreateModelCopyJobRequest.Builder,CreateModelCopyJobRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateModelCopyJobRequest
@Mutable @NotThreadSafe public static interface CreateModelCopyJobRequest.Builder extends BedrockRequest.Builder, SdkPojo, CopyableBuilder<CreateModelCopyJobRequest.Builder,CreateModelCopyJobRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateModelCopyJobRequest.BuilderclientRequestToken(String clientRequestToken)A unique, case-sensitive identifier to ensure that the API request completes no more than one time.CreateModelCopyJobRequest.BuildermodelKmsKeyId(String modelKmsKeyId)The ARN of the KMS key that you use to encrypt the model copy.CreateModelCopyJobRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateModelCopyJobRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateModelCopyJobRequest.BuildersourceModelArn(String sourceModelArn)The Amazon Resource Name (ARN) of the model to be copied.CreateModelCopyJobRequest.BuildertargetModelName(String targetModelName)A name for the copied model.CreateModelCopyJobRequest.BuildertargetModelTags(Collection<Tag> targetModelTags)Tags to associate with the target model.CreateModelCopyJobRequest.BuildertargetModelTags(Consumer<Tag.Builder>... targetModelTags)Tags to associate with the target model.CreateModelCopyJobRequest.BuildertargetModelTags(Tag... targetModelTags)Tags to associate with the target model.-
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
-
sourceModelArn
CreateModelCopyJobRequest.Builder sourceModelArn(String sourceModelArn)
The Amazon Resource Name (ARN) of the model to be copied.
- Parameters:
sourceModelArn- The Amazon Resource Name (ARN) of the model to be copied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetModelName
CreateModelCopyJobRequest.Builder targetModelName(String targetModelName)
A name for the copied model.
- Parameters:
targetModelName- A name for the copied model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelKmsKeyId
CreateModelCopyJobRequest.Builder modelKmsKeyId(String modelKmsKeyId)
The ARN of the KMS key that you use to encrypt the model copy.
- Parameters:
modelKmsKeyId- The ARN of the KMS key that you use to encrypt the model copy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetModelTags
CreateModelCopyJobRequest.Builder targetModelTags(Collection<Tag> targetModelTags)
Tags to associate with the target model. For more information, see Tag resources in the Amazon Bedrock User Guide.
- Parameters:
targetModelTags- Tags to associate with the target model. For more information, see Tag resources in the Amazon Bedrock User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetModelTags
CreateModelCopyJobRequest.Builder targetModelTags(Tag... targetModelTags)
Tags to associate with the target model. For more information, see Tag resources in the Amazon Bedrock User Guide.
- Parameters:
targetModelTags- Tags to associate with the target model. For more information, see Tag resources in the Amazon Bedrock User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetModelTags
CreateModelCopyJobRequest.Builder targetModelTags(Consumer<Tag.Builder>... targetModelTags)
Tags to associate with the target model. For more information, see Tag resources in the Amazon Bedrock User Guide.
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#targetModelTags(List.) - Parameters:
targetModelTags- 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:
#targetModelTags(java.util.Collection)
-
clientRequestToken
CreateModelCopyJobRequest.Builder clientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
- Parameters:
clientRequestToken- A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateModelCopyJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateModelCopyJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-