@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteModelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteModelRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteModelRequest |
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
DeleteModel completes only once. |
String |
getModelVersion()
The version of the model that you want to delete.
|
String |
getProjectName()
The name of the project that contains the model that you want to delete.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
ClientToken is an idempotency token that ensures a call to
DeleteModel completes only once. |
void |
setModelVersion(String modelVersion)
The version of the model that you want to delete.
|
void |
setProjectName(String projectName)
The name of the project that contains the model that you want to delete.
|
String |
toString()
Returns a string representation of this object.
|
DeleteModelRequest |
withClientToken(String clientToken)
ClientToken is an idempotency token that ensures a call to
DeleteModel completes only once. |
DeleteModelRequest |
withModelVersion(String modelVersion)
The version of the model that you want to delete.
|
DeleteModelRequest |
withProjectName(String projectName)
The name of the project that contains the model that you want to delete.
|
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 delete.
projectName
- The name of the project that contains the model that you want to delete.public String getProjectName()
The name of the project that contains the model that you want to delete.
public DeleteModelRequest withProjectName(String projectName)
The name of the project that contains the model that you want to delete.
projectName
- The name of the project that contains the model that you want to delete.public void setModelVersion(String modelVersion)
The version of the model that you want to delete.
modelVersion
- The version of the model that you want to delete.public String getModelVersion()
The version of the model that you want to delete.
public DeleteModelRequest withModelVersion(String modelVersion)
The version of the model that you want to delete.
modelVersion
- The version of the model that you want to delete.public void setClientToken(String clientToken)
ClientToken is an idempotency token that ensures a call to DeleteModel
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 DeleteModel
. In this case, safely retry your call to DeleteModel
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
DeleteModel
. An idempotency token is active for 8 hours.
clientToken
- ClientToken is an idempotency token that ensures a call to DeleteModel
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 DeleteModel
. In this case, safely retry your call to
DeleteModel
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 DeleteModel
. An idempotency token is
active for 8 hours.public String getClientToken()
ClientToken is an idempotency token that ensures a call to DeleteModel
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 DeleteModel
. In this case, safely retry your call to DeleteModel
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
DeleteModel
. An idempotency token is active for 8 hours.
DeleteModel
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 DeleteModel
. In this case, safely retry your call to
DeleteModel
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 DeleteModel
. An idempotency token is
active for 8 hours.public DeleteModelRequest withClientToken(String clientToken)
ClientToken is an idempotency token that ensures a call to DeleteModel
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 DeleteModel
. In this case, safely retry your call to DeleteModel
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
DeleteModel
. An idempotency token is active for 8 hours.
clientToken
- ClientToken is an idempotency token that ensures a call to DeleteModel
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 DeleteModel
. In this case, safely retry your call to
DeleteModel
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 DeleteModel
. An idempotency token is
active for 8 hours.public String toString()
toString
in class Object
Object.toString()
public DeleteModelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()