@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartModelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartModelRequest() |
Modifier and Type | Method and Description |
---|---|
StartModelRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
ClientToken is an idempotency token that ensures a call to
StartModel completes only once. |
Integer |
getMinInferenceUnits()
The minimum number of inference units to use.
|
String |
getModelVersion()
The version of the model that you want to start.
|
String |
getProjectName()
The name of the project that contains the model that you want to start.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
ClientToken is an idempotency token that ensures a call to
StartModel completes only once. |
void |
setMinInferenceUnits(Integer minInferenceUnits)
The minimum number of inference units to use.
|
void |
setModelVersion(String modelVersion)
The version of the model that you want to start.
|
void |
setProjectName(String projectName)
The name of the project that contains the model that you want to start.
|
String |
toString()
Returns a string representation of this object.
|
StartModelRequest |
withClientToken(String clientToken)
ClientToken is an idempotency token that ensures a call to
StartModel completes only once. |
StartModelRequest |
withMinInferenceUnits(Integer minInferenceUnits)
The minimum number of inference units to use.
|
StartModelRequest |
withModelVersion(String modelVersion)
The version of the model that you want to start.
|
StartModelRequest |
withProjectName(String projectName)
The name of the project that contains the model that you want to start.
|
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 void setProjectName(String projectName)
The name of the project that contains the model that you want to start.
projectName
- The name of the project that contains the model that you want to start.public String getProjectName()
The name of the project that contains the model that you want to start.
public StartModelRequest withProjectName(String projectName)
The name of the project that contains the model that you want to start.
projectName
- The name of the project that contains the model that you want to start.public void setModelVersion(String modelVersion)
The version of the model that you want to start.
modelVersion
- The version of the model that you want to start.public String getModelVersion()
The version of the model that you want to start.
public StartModelRequest withModelVersion(String modelVersion)
The version of the model that you want to start.
modelVersion
- The version of the model that you want to start.public void setMinInferenceUnits(Integer minInferenceUnits)
The minimum number of inference units to use. A single inference unit represents 1 hour of processing and can support up to 5 Transaction Pers Second (TPS). Use a higher number to increase the TPS throughput of your model. You are charged for the number of inference units that you use.
minInferenceUnits
- The minimum number of inference units to use. A single inference unit represents 1 hour of processing and
can support up to 5 Transaction Pers Second (TPS). Use a higher number to increase the TPS throughput of
your model. You are charged for the number of inference units that you use.public Integer getMinInferenceUnits()
The minimum number of inference units to use. A single inference unit represents 1 hour of processing and can support up to 5 Transaction Pers Second (TPS). Use a higher number to increase the TPS throughput of your model. You are charged for the number of inference units that you use.
public StartModelRequest withMinInferenceUnits(Integer minInferenceUnits)
The minimum number of inference units to use. A single inference unit represents 1 hour of processing and can support up to 5 Transaction Pers Second (TPS). Use a higher number to increase the TPS throughput of your model. You are charged for the number of inference units that you use.
minInferenceUnits
- The minimum number of inference units to use. A single inference unit represents 1 hour of processing and
can support up to 5 Transaction Pers Second (TPS). Use a higher number to increase the TPS throughput of
your model. You are charged for the number of inference units that you use.public void setClientToken(String clientToken)
ClientToken is an idempotency token that ensures a call to StartModel
completes only once. You
choose the value to pass. For example, An issue, such as an network outage, might prevent you from getting a
response from StartModel
. In this case, safely retry your call to StartModel
by using
the same ClientToken
parameter value. An error occurs if the other input parameters are not the same
as in the first request. Using a different value for ClientToken
is considered a new call to
StartModel
. An idempotency token is active for 8 hours.
clientToken
- ClientToken is an idempotency token that ensures a call to StartModel
completes only once.
You choose the value to pass. For example, An issue, such as an network outage, might prevent you from
getting a response from StartModel
. In this case, safely retry your call to
StartModel
by using the same ClientToken
parameter value. An error occurs if the
other input parameters are not the same as in the first request. Using a different value for
ClientToken
is considered a new call to StartModel
. An idempotency token is
active for 8 hours.public String getClientToken()
ClientToken is an idempotency token that ensures a call to StartModel
completes only once. You
choose the value to pass. For example, An issue, such as an network outage, might prevent you from getting a
response from StartModel
. In this case, safely retry your call to StartModel
by using
the same ClientToken
parameter value. An error occurs if the other input parameters are not the same
as in the first request. Using a different value for ClientToken
is considered a new call to
StartModel
. An idempotency token is active for 8 hours.
StartModel
completes only once.
You choose the value to pass. For example, An issue, such as an network outage, might prevent you from
getting a response from StartModel
. In this case, safely retry your call to
StartModel
by using the same ClientToken
parameter value. An error occurs if
the other input parameters are not the same as in the first request. Using a different value for
ClientToken
is considered a new call to StartModel
. An idempotency token is
active for 8 hours.public StartModelRequest withClientToken(String clientToken)
ClientToken is an idempotency token that ensures a call to StartModel
completes only once. You
choose the value to pass. For example, An issue, such as an network outage, might prevent you from getting a
response from StartModel
. In this case, safely retry your call to StartModel
by using
the same ClientToken
parameter value. An error occurs if the other input parameters are not the same
as in the first request. Using a different value for ClientToken
is considered a new call to
StartModel
. An idempotency token is active for 8 hours.
clientToken
- ClientToken is an idempotency token that ensures a call to StartModel
completes only once.
You choose the value to pass. For example, An issue, such as an network outage, might prevent you from
getting a response from StartModel
. In this case, safely retry your call to
StartModel
by using the same ClientToken
parameter value. An error occurs if the
other input parameters are not the same as in the first request. Using a different value for
ClientToken
is considered a new call to StartModel
. An idempotency token is
active for 8 hours.public String toString()
toString
in class Object
Object.toString()
public StartModelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()