Interface CreateCustomModelDeploymentRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BedrockRequest.Builder,Buildable,CopyableBuilder<CreateCustomModelDeploymentRequest.Builder,CreateCustomModelDeploymentRequest>,SdkBuilder<CreateCustomModelDeploymentRequest.Builder,CreateCustomModelDeploymentRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateCustomModelDeploymentRequest
@Mutable @NotThreadSafe public static interface CreateCustomModelDeploymentRequest.Builder extends BedrockRequest.Builder, SdkPojo, CopyableBuilder<CreateCustomModelDeploymentRequest.Builder,CreateCustomModelDeploymentRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateCustomModelDeploymentRequest.BuilderclientRequestToken(String clientRequestToken)A unique, case-sensitive identifier to ensure that the operation completes no more than one time.CreateCustomModelDeploymentRequest.Builderdescription(String description)A description for the custom model deployment to help you identify its purpose.CreateCustomModelDeploymentRequest.BuildermodelArn(String modelArn)The Amazon Resource Name (ARN) of the custom model to deploy for on-demand inference.CreateCustomModelDeploymentRequest.BuildermodelDeploymentName(String modelDeploymentName)The name for the custom model deployment.CreateCustomModelDeploymentRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateCustomModelDeploymentRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateCustomModelDeploymentRequest.Buildertags(Collection<Tag> tags)Tags to assign to the custom model deployment.CreateCustomModelDeploymentRequest.Buildertags(Consumer<Tag.Builder>... tags)Tags to assign to the custom model deployment.CreateCustomModelDeploymentRequest.Buildertags(Tag... tags)Tags to assign to the custom model deployment.-
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
-
modelDeploymentName
CreateCustomModelDeploymentRequest.Builder modelDeploymentName(String modelDeploymentName)
The name for the custom model deployment. The name must be unique within your Amazon Web Services account and Region.
- Parameters:
modelDeploymentName- The name for the custom model deployment. The name must be unique within your Amazon Web Services account and Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelArn
CreateCustomModelDeploymentRequest.Builder modelArn(String modelArn)
The Amazon Resource Name (ARN) of the custom model to deploy for on-demand inference. The custom model must be in the
Activestate.- Parameters:
modelArn- The Amazon Resource Name (ARN) of the custom model to deploy for on-demand inference. The custom model must be in theActivestate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateCustomModelDeploymentRequest.Builder description(String description)
A description for the custom model deployment to help you identify its purpose.
- Parameters:
description- A description for the custom model deployment to help you identify its purpose.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateCustomModelDeploymentRequest.Builder tags(Collection<Tag> tags)
Tags to assign to the custom model deployment. You can use tags to organize and track your Amazon Web Services resources for cost allocation and management purposes.
- Parameters:
tags- Tags to assign to the custom model deployment. You can use tags to organize and track your Amazon Web Services resources for cost allocation and management purposes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateCustomModelDeploymentRequest.Builder tags(Tag... tags)
Tags to assign to the custom model deployment. You can use tags to organize and track your Amazon Web Services resources for cost allocation and management purposes.
- Parameters:
tags- Tags to assign to the custom model deployment. You can use tags to organize and track your Amazon Web Services resources for cost allocation and management purposes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateCustomModelDeploymentRequest.Builder tags(Consumer<Tag.Builder>... tags)
Tags to assign to the custom model deployment. You can use tags to organize and track your Amazon Web Services resources for cost allocation and management purposes.
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)
-
clientRequestToken
CreateCustomModelDeploymentRequest.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. For more information, see Ensuring idempotency.
- 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. For more information, see Ensuring idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateCustomModelDeploymentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateCustomModelDeploymentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-