public class DeleteModelRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Request to delete an existing model in an existing RestApi resource.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
modelName
The name of the model to delete.
|
private java.lang.String |
restApiId
The RestApi under which the model will be deleted.
|
NOOP
Constructor and Description |
---|
DeleteModelRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteModelRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getModelName()
The name of the model to delete.
|
java.lang.String |
getRestApiId()
The RestApi under which the model will be deleted.
|
int |
hashCode() |
void |
setModelName(java.lang.String modelName)
The name of the model to delete.
|
void |
setRestApiId(java.lang.String restApiId)
The RestApi under which the model will be deleted.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteModelRequest |
withModelName(java.lang.String modelName)
The name of the model to delete.
|
DeleteModelRequest |
withRestApiId(java.lang.String restApiId)
The RestApi under which the model will be deleted.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String restApiId
The RestApi under which the model will be deleted.
private java.lang.String modelName
The name of the model to delete.
public void setRestApiId(java.lang.String restApiId)
The RestApi under which the model will be deleted.
restApiId
- The RestApi under which the model will be deleted.public java.lang.String getRestApiId()
The RestApi under which the model will be deleted.
public DeleteModelRequest withRestApiId(java.lang.String restApiId)
The RestApi under which the model will be deleted.
restApiId
- The RestApi under which the model will be deleted.public void setModelName(java.lang.String modelName)
The name of the model to delete.
modelName
- The name of the model to delete.public java.lang.String getModelName()
The name of the model to delete.
public DeleteModelRequest withModelName(java.lang.String modelName)
The name of the model to delete.
modelName
- The name of the model to delete.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DeleteModelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()