Interface CreateProvisionedModelThroughputRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockRequest.Builder,Buildable,CopyableBuilder<CreateProvisionedModelThroughputRequest.Builder,,CreateProvisionedModelThroughputRequest> SdkBuilder<CreateProvisionedModelThroughputRequest.Builder,,CreateProvisionedModelThroughputRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateProvisionedModelThroughputRequest
public static interface CreateProvisionedModelThroughputRequest.Builder
extends BedrockRequest.Builder, SdkPojo, CopyableBuilder<CreateProvisionedModelThroughputRequest.Builder,CreateProvisionedModelThroughputRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken(String clientRequestToken) Unique token value that you can provide.commitmentDuration(String commitmentDuration) Commitment duration requested for the provisioned throughput.commitmentDuration(CommitmentDuration commitmentDuration) Commitment duration requested for the provisioned throughput.Name or ARN of the model to associate with this provisioned throughput.modelUnits(Integer modelUnits) Number of model units to allocate.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.provisionedModelName(String provisionedModelName) Unique name for this provisioned throughput.tags(Collection<Tag> tags) Tags to associate with this provisioned throughput.tags(Consumer<Tag.Builder>... tags) Tags to associate with this provisioned throughput.Tags to associate with this provisioned throughput.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, sdkFields
-
Method Details
-
clientRequestToken
Unique token value that you can provide. If this token matches a previous request, Bedrock ignores the request, but does not return an error.
- Parameters:
clientRequestToken- Unique token value that you can provide. If this token matches a previous request, 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.
-
modelUnits
Number of model units to allocate.
- Parameters:
modelUnits- Number of model units to allocate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedModelName
Unique name for this provisioned throughput.
- Parameters:
provisionedModelName- Unique name for this provisioned throughput.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelId
Name or ARN of the model to associate with this provisioned throughput.
- Parameters:
modelId- Name or ARN of the model to associate with this provisioned throughput.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commitmentDuration
Commitment duration requested for the provisioned throughput.
- Parameters:
commitmentDuration- Commitment duration requested for the provisioned throughput.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
commitmentDuration
CreateProvisionedModelThroughputRequest.Builder commitmentDuration(CommitmentDuration commitmentDuration) Commitment duration requested for the provisioned throughput.
- Parameters:
commitmentDuration- Commitment duration requested for the provisioned throughput.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Tags to associate with this provisioned throughput.
- Parameters:
tags- Tags to associate with this provisioned throughput.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to associate with this provisioned throughput.
- Parameters:
tags- Tags to associate with this provisioned throughput.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to associate with this provisioned throughput.
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
CreateProvisionedModelThroughputRequest.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
CreateProvisionedModelThroughputRequest.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.
-