@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateModelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Updates a Model.
NOOP| Constructor and Description | 
|---|
| UpdateModelRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| UpdateModelRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getApiId()
 The API identifier. | 
| String | getContentType()
 The content-type for the model, for example, "application/json". | 
| String | getDescription()
 The description of the model. | 
| String | getModelId()
 The model ID. | 
| String | getName()
 The name of the model. | 
| String | getSchema()
 The schema for the model. | 
| int | hashCode() | 
| void | setApiId(String apiId)
 The API identifier. | 
| void | setContentType(String contentType)
 The content-type for the model, for example, "application/json". | 
| void | setDescription(String description)
 The description of the model. | 
| void | setModelId(String modelId)
 The model ID. | 
| void | setName(String name)
 The name of the model. | 
| void | setSchema(String schema)
 The schema for the model. | 
| String | toString()Returns a string representation of this object. | 
| UpdateModelRequest | withApiId(String apiId)
 The API identifier. | 
| UpdateModelRequest | withContentType(String contentType)
 The content-type for the model, for example, "application/json". | 
| UpdateModelRequest | withDescription(String description)
 The description of the model. | 
| UpdateModelRequest | withModelId(String modelId)
 The model ID. | 
| UpdateModelRequest | withName(String name)
 The name of the model. | 
| UpdateModelRequest | withSchema(String schema)
 The schema for the model. | 
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, withSdkRequestTimeoutpublic void setApiId(String apiId)
The API identifier.
apiId - The API identifier.public String getApiId()
The API identifier.
public UpdateModelRequest withApiId(String apiId)
The API identifier.
apiId - The API identifier.public void setContentType(String contentType)
The content-type for the model, for example, "application/json".
contentType - The content-type for the model, for example, "application/json".public String getContentType()
The content-type for the model, for example, "application/json".
public UpdateModelRequest withContentType(String contentType)
The content-type for the model, for example, "application/json".
contentType - The content-type for the model, for example, "application/json".public void setDescription(String description)
The description of the model.
description - The description of the model.public String getDescription()
The description of the model.
public UpdateModelRequest withDescription(String description)
The description of the model.
description - The description of the model.public void setModelId(String modelId)
The model ID.
modelId - The model ID.public String getModelId()
The model ID.
public UpdateModelRequest withModelId(String modelId)
The model ID.
modelId - The model ID.public void setName(String name)
The name of the model.
name - The name of the model.public String getName()
The name of the model.
public UpdateModelRequest withName(String name)
The name of the model.
name - The name of the model.public void setSchema(String schema)
The schema for the model. For application/json models, this should be JSON schema draft 4 model.
schema - The schema for the model. For application/json models, this should be JSON schema draft 4 model.public String getSchema()
The schema for the model. For application/json models, this should be JSON schema draft 4 model.
public UpdateModelRequest withSchema(String schema)
The schema for the model. For application/json models, this should be JSON schema draft 4 model.
schema - The schema for the model. For application/json models, this should be JSON schema draft 4 model.public String toString()
toString in class ObjectObject.toString()public UpdateModelRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()