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
-
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, sdkFields
-
-
-
-
Method Detail
-
clientRequestToken
CreateProvisionedModelThroughputRequest.Builder clientRequestToken(String clientRequestToken)
Unique token value that you can provide. If this token matches a previous request, Amazon 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, 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.
-
modelUnits
CreateProvisionedModelThroughputRequest.Builder modelUnits(Integer 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
CreateProvisionedModelThroughputRequest.Builder provisionedModelName(String 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
CreateProvisionedModelThroughputRequest.Builder modelId(String 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
CreateProvisionedModelThroughputRequest.Builder commitmentDuration(String 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,CommitmentDuration
-
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:
CommitmentDuration,CommitmentDuration
-
tags
CreateProvisionedModelThroughputRequest.Builder tags(Collection<Tag> 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
CreateProvisionedModelThroughputRequest.Builder tags(Tag... 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
CreateProvisionedModelThroughputRequest.Builder tags(Consumer<Tag.Builder>... 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 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
CreateProvisionedModelThroughputRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateProvisionedModelThroughputRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-