@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateProvisionedModelThroughputRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateProvisionedModelThroughputRequest() |
Modifier and Type | Method and Description |
---|---|
CreateProvisionedModelThroughputRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken()
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
|
String |
getCommitmentDuration()
The commitment duration requested for the Provisioned Throughput.
|
String |
getModelId()
The Amazon Resource Name (ARN) or name of the model to associate with this Provisioned Throughput.
|
Integer |
getModelUnits()
Number of model units to allocate.
|
String |
getProvisionedModelName()
The name for this Provisioned Throughput.
|
List<Tag> |
getTags()
Tags to associate with this Provisioned Throughput.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
|
void |
setCommitmentDuration(String commitmentDuration)
The commitment duration requested for the Provisioned Throughput.
|
void |
setModelId(String modelId)
The Amazon Resource Name (ARN) or name of the model to associate with this Provisioned Throughput.
|
void |
setModelUnits(Integer modelUnits)
Number of model units to allocate.
|
void |
setProvisionedModelName(String provisionedModelName)
The name for this Provisioned Throughput.
|
void |
setTags(Collection<Tag> tags)
Tags to associate with this Provisioned Throughput.
|
String |
toString()
Returns a string representation of this object.
|
CreateProvisionedModelThroughputRequest |
withClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
|
CreateProvisionedModelThroughputRequest |
withCommitmentDuration(CommitmentDuration commitmentDuration)
The commitment duration requested for the Provisioned Throughput.
|
CreateProvisionedModelThroughputRequest |
withCommitmentDuration(String commitmentDuration)
The commitment duration requested for the Provisioned Throughput.
|
CreateProvisionedModelThroughputRequest |
withModelId(String modelId)
The Amazon Resource Name (ARN) or name of the model to associate with this Provisioned Throughput.
|
CreateProvisionedModelThroughputRequest |
withModelUnits(Integer modelUnits)
Number of model units to allocate.
|
CreateProvisionedModelThroughputRequest |
withProvisionedModelName(String provisionedModelName)
The name for this Provisioned Throughput.
|
CreateProvisionedModelThroughputRequest |
withTags(Collection<Tag> tags)
Tags to associate with this Provisioned Throughput.
|
CreateProvisionedModelThroughputRequest |
withTags(Tag... tags)
Tags to associate with this Provisioned Throughput.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public CreateProvisionedModelThroughputRequest()
public void setClientRequestToken(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 in the Amazon S3 User Guide.
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 in the Amazon S3 User Guide.public String getClientRequestToken()
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 in the Amazon S3 User Guide.
public CreateProvisionedModelThroughputRequest withClientRequestToken(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 in the Amazon S3 User Guide.
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 in the Amazon S3 User Guide.public void setModelUnits(Integer modelUnits)
Number of model units to allocate. A model unit delivers a specific throughput level for the specified model. The throughput level of a model unit specifies the total number of input and output tokens that it can process and generate within a span of one minute. By default, your account has no model units for purchasing Provisioned Throughputs with commitment. You must first visit the Amazon Web Services support center to request MUs.
For model unit quotas, see Provisioned Throughput quotas in the Amazon Bedrock User Guide.
For more information about what an MU specifies, contact your Amazon Web Services account manager.
modelUnits
- Number of model units to allocate. A model unit delivers a specific throughput level for the specified
model. The throughput level of a model unit specifies the total number of input and output tokens that it
can process and generate within a span of one minute. By default, your account has no model units for
purchasing Provisioned Throughputs with commitment. You must first visit the Amazon
Web Services support center to request MUs.
For model unit quotas, see Provisioned Throughput quotas in the Amazon Bedrock User Guide.
For more information about what an MU specifies, contact your Amazon Web Services account manager.
public Integer getModelUnits()
Number of model units to allocate. A model unit delivers a specific throughput level for the specified model. The throughput level of a model unit specifies the total number of input and output tokens that it can process and generate within a span of one minute. By default, your account has no model units for purchasing Provisioned Throughputs with commitment. You must first visit the Amazon Web Services support center to request MUs.
For model unit quotas, see Provisioned Throughput quotas in the Amazon Bedrock User Guide.
For more information about what an MU specifies, contact your Amazon Web Services account manager.
For model unit quotas, see Provisioned Throughput quotas in the Amazon Bedrock User Guide.
For more information about what an MU specifies, contact your Amazon Web Services account manager.
public CreateProvisionedModelThroughputRequest withModelUnits(Integer modelUnits)
Number of model units to allocate. A model unit delivers a specific throughput level for the specified model. The throughput level of a model unit specifies the total number of input and output tokens that it can process and generate within a span of one minute. By default, your account has no model units for purchasing Provisioned Throughputs with commitment. You must first visit the Amazon Web Services support center to request MUs.
For model unit quotas, see Provisioned Throughput quotas in the Amazon Bedrock User Guide.
For more information about what an MU specifies, contact your Amazon Web Services account manager.
modelUnits
- Number of model units to allocate. A model unit delivers a specific throughput level for the specified
model. The throughput level of a model unit specifies the total number of input and output tokens that it
can process and generate within a span of one minute. By default, your account has no model units for
purchasing Provisioned Throughputs with commitment. You must first visit the Amazon
Web Services support center to request MUs.
For model unit quotas, see Provisioned Throughput quotas in the Amazon Bedrock User Guide.
For more information about what an MU specifies, contact your Amazon Web Services account manager.
public void setProvisionedModelName(String provisionedModelName)
The name for this Provisioned Throughput.
provisionedModelName
- The name for this Provisioned Throughput.public String getProvisionedModelName()
The name for this Provisioned Throughput.
public CreateProvisionedModelThroughputRequest withProvisionedModelName(String provisionedModelName)
The name for this Provisioned Throughput.
provisionedModelName
- The name for this Provisioned Throughput.public void setModelId(String modelId)
The Amazon Resource Name (ARN) or name of the model to associate with this Provisioned Throughput. For a list of models for which you can purchase Provisioned Throughput, see Amazon Bedrock model IDs for purchasing Provisioned Throughput in the Amazon Bedrock User Guide.
modelId
- The Amazon Resource Name (ARN) or name of the model to associate with this Provisioned Throughput. For a
list of models for which you can purchase Provisioned Throughput, see Amazon
Bedrock model IDs for purchasing Provisioned Throughput in the Amazon Bedrock User Guide.public String getModelId()
The Amazon Resource Name (ARN) or name of the model to associate with this Provisioned Throughput. For a list of models for which you can purchase Provisioned Throughput, see Amazon Bedrock model IDs for purchasing Provisioned Throughput in the Amazon Bedrock User Guide.
public CreateProvisionedModelThroughputRequest withModelId(String modelId)
The Amazon Resource Name (ARN) or name of the model to associate with this Provisioned Throughput. For a list of models for which you can purchase Provisioned Throughput, see Amazon Bedrock model IDs for purchasing Provisioned Throughput in the Amazon Bedrock User Guide.
modelId
- The Amazon Resource Name (ARN) or name of the model to associate with this Provisioned Throughput. For a
list of models for which you can purchase Provisioned Throughput, see Amazon
Bedrock model IDs for purchasing Provisioned Throughput in the Amazon Bedrock User Guide.public void setCommitmentDuration(String commitmentDuration)
The commitment duration requested for the Provisioned Throughput. Billing occurs hourly and is discounted for longer commitment terms. To request a no-commit Provisioned Throughput, omit this field.
Custom models support all levels of commitment. To see which base models support no commitment, see Supported regions and models for Provisioned Throughput in the Amazon Bedrock User Guide
commitmentDuration
- The commitment duration requested for the Provisioned Throughput. Billing occurs hourly and is discounted
for longer commitment terms. To request a no-commit Provisioned Throughput, omit this field.
Custom models support all levels of commitment. To see which base models support no commitment, see Supported regions and models for Provisioned Throughput in the Amazon Bedrock User Guide
CommitmentDuration
public String getCommitmentDuration()
The commitment duration requested for the Provisioned Throughput. Billing occurs hourly and is discounted for longer commitment terms. To request a no-commit Provisioned Throughput, omit this field.
Custom models support all levels of commitment. To see which base models support no commitment, see Supported regions and models for Provisioned Throughput in the Amazon Bedrock User Guide
Custom models support all levels of commitment. To see which base models support no commitment, see Supported regions and models for Provisioned Throughput in the Amazon Bedrock User Guide
CommitmentDuration
public CreateProvisionedModelThroughputRequest withCommitmentDuration(String commitmentDuration)
The commitment duration requested for the Provisioned Throughput. Billing occurs hourly and is discounted for longer commitment terms. To request a no-commit Provisioned Throughput, omit this field.
Custom models support all levels of commitment. To see which base models support no commitment, see Supported regions and models for Provisioned Throughput in the Amazon Bedrock User Guide
commitmentDuration
- The commitment duration requested for the Provisioned Throughput. Billing occurs hourly and is discounted
for longer commitment terms. To request a no-commit Provisioned Throughput, omit this field.
Custom models support all levels of commitment. To see which base models support no commitment, see Supported regions and models for Provisioned Throughput in the Amazon Bedrock User Guide
CommitmentDuration
public CreateProvisionedModelThroughputRequest withCommitmentDuration(CommitmentDuration commitmentDuration)
The commitment duration requested for the Provisioned Throughput. Billing occurs hourly and is discounted for longer commitment terms. To request a no-commit Provisioned Throughput, omit this field.
Custom models support all levels of commitment. To see which base models support no commitment, see Supported regions and models for Provisioned Throughput in the Amazon Bedrock User Guide
commitmentDuration
- The commitment duration requested for the Provisioned Throughput. Billing occurs hourly and is discounted
for longer commitment terms. To request a no-commit Provisioned Throughput, omit this field.
Custom models support all levels of commitment. To see which base models support no commitment, see Supported regions and models for Provisioned Throughput in the Amazon Bedrock User Guide
CommitmentDuration
public List<Tag> getTags()
Tags to associate with this Provisioned Throughput.
public void setTags(Collection<Tag> tags)
Tags to associate with this Provisioned Throughput.
tags
- Tags to associate with this Provisioned Throughput.public CreateProvisionedModelThroughputRequest withTags(Tag... tags)
Tags to associate with this Provisioned Throughput.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Tags to associate with this Provisioned Throughput.public CreateProvisionedModelThroughputRequest withTags(Collection<Tag> tags)
Tags to associate with this Provisioned Throughput.
tags
- Tags to associate with this Provisioned Throughput.public String toString()
toString
in class Object
Object.toString()
public CreateProvisionedModelThroughputRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()