Interface CreateCustomModelDeploymentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockRequest.Builder
,Buildable
,CopyableBuilder<CreateCustomModelDeploymentRequest.Builder,
,CreateCustomModelDeploymentRequest> SdkBuilder<CreateCustomModelDeploymentRequest.Builder,
,CreateCustomModelDeploymentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateCustomModelDeploymentRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken
(String clientRequestToken) A unique, case-sensitive identifier to ensure that the operation completes no more than one time.description
(String description) A description for the custom model deployment to help you identify its purpose.The Amazon Resource Name (ARN) of the custom model to deploy for on-demand inference.modelDeploymentName
(String modelDeploymentName) The name for the custom model deployment.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags
(Collection<Tag> tags) Tags to assign to the custom model deployment.tags
(Consumer<Tag.Builder>... tags) Tags to assign to the custom model deployment.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 Details
-
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
The Amazon Resource Name (ARN) of the custom model to deploy for on-demand inference. The custom model must be in the
Active
state.- Parameters:
modelArn
- The Amazon Resource Name (ARN) of the custom model to deploy for on-demand inference. The custom model must be in theActive
state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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
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.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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:
-
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) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateCustomModelDeploymentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-