@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()
Unique token value that you can provide.
|
String |
getCommitmentDuration()
Commitment duration requested for the provisioned throughput.
|
String |
getModelId()
Name or ARN of the model to associate with this provisioned throughput.
|
Integer |
getModelUnits()
Number of model units to allocate.
|
String |
getProvisionedModelName()
Unique name for this provisioned throughput.
|
List<Tag> |
getTags()
Tags to associate with this provisioned throughput.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
Unique token value that you can provide.
|
void |
setCommitmentDuration(String commitmentDuration)
Commitment duration requested for the provisioned throughput.
|
void |
setModelId(String modelId)
Name or ARN of the model to associate with this provisioned throughput.
|
void |
setModelUnits(Integer modelUnits)
Number of model units to allocate.
|
void |
setProvisionedModelName(String provisionedModelName)
Unique 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)
Unique token value that you can provide.
|
CreateProvisionedModelThroughputRequest |
withCommitmentDuration(CommitmentDuration commitmentDuration)
Commitment duration requested for the provisioned throughput.
|
CreateProvisionedModelThroughputRequest |
withCommitmentDuration(String commitmentDuration)
Commitment duration requested for the provisioned throughput.
|
CreateProvisionedModelThroughputRequest |
withModelId(String modelId)
Name or ARN of the model to associate with this provisioned throughput.
|
CreateProvisionedModelThroughputRequest |
withModelUnits(Integer modelUnits)
Number of model units to allocate.
|
CreateProvisionedModelThroughputRequest |
withProvisionedModelName(String provisionedModelName)
Unique 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)
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.
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.public String getClientRequestToken()
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.
public CreateProvisionedModelThroughputRequest withClientRequestToken(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.
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.public void setModelUnits(Integer modelUnits)
Number of model units to allocate.
modelUnits
- Number of model units to allocate.public Integer getModelUnits()
Number of model units to allocate.
public CreateProvisionedModelThroughputRequest withModelUnits(Integer modelUnits)
Number of model units to allocate.
modelUnits
- Number of model units to allocate.public void setProvisionedModelName(String provisionedModelName)
Unique name for this provisioned throughput.
provisionedModelName
- Unique name for this provisioned throughput.public String getProvisionedModelName()
Unique name for this provisioned throughput.
public CreateProvisionedModelThroughputRequest withProvisionedModelName(String provisionedModelName)
Unique name for this provisioned throughput.
provisionedModelName
- Unique name for this provisioned throughput.public void setModelId(String modelId)
Name or ARN of the model to associate with this provisioned throughput.
modelId
- Name or ARN of the model to associate with this provisioned throughput.public String getModelId()
Name or ARN of the model to associate with this provisioned throughput.
public CreateProvisionedModelThroughputRequest withModelId(String modelId)
Name or ARN of the model to associate with this provisioned throughput.
modelId
- Name or ARN of the model to associate with this provisioned throughput.public void setCommitmentDuration(String commitmentDuration)
Commitment duration requested for the provisioned throughput.
commitmentDuration
- Commitment duration requested for the provisioned throughput.CommitmentDuration
public String getCommitmentDuration()
Commitment duration requested for the provisioned throughput.
CommitmentDuration
public CreateProvisionedModelThroughputRequest withCommitmentDuration(String commitmentDuration)
Commitment duration requested for the provisioned throughput.
commitmentDuration
- Commitment duration requested for the provisioned throughput.CommitmentDuration
public CreateProvisionedModelThroughputRequest withCommitmentDuration(CommitmentDuration commitmentDuration)
Commitment duration requested for the provisioned throughput.
commitmentDuration
- Commitment duration requested for the provisioned throughput.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()