@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateModelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| CreateModelRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateModelRequest | clone() | 
| boolean | equals(Object obj) | 
| String | getContentType()
 [Required] The content-type for the model. | 
| String | getDescription()
 The description of the model. | 
| String | getName()
 [Required] The name of the model. | 
| String | getRestApiId() | 
| String | getSchema()
 The schema for the model. | 
| int | hashCode() | 
| void | setContentType(String contentType)
 [Required] The content-type for the model. | 
| void | setDescription(String description)
 The description of the model. | 
| void | setName(String name)
 [Required] The name of the model. | 
| void | setRestApiId(String restApiId) | 
| void | setSchema(String schema)
 The schema for the model. | 
| String | toString()Returns a string representation of this object. | 
| CreateModelRequest | withContentType(String contentType)
 [Required] The content-type for the model. | 
| CreateModelRequest | withDescription(String description)
 The description of the model. | 
| CreateModelRequest | withName(String name)
 [Required] The name of the model. | 
| CreateModelRequest | withRestApiId(String restApiId) | 
| CreateModelRequest | withSchema(String schema)
 The schema for the model. | 
addHandlerContext, copyBaseTo, 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 setRestApiId(String restApiId)
public String getRestApiId()
public CreateModelRequest withRestApiId(String restApiId)
public void setName(String name)
[Required] The name of the model. Must be alphanumeric.
name - [Required] The name of the model. Must be alphanumeric.public String getName()
[Required] The name of the model. Must be alphanumeric.
public CreateModelRequest withName(String name)
[Required] The name of the model. Must be alphanumeric.
name - [Required] The name of the model. Must be alphanumeric.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 CreateModelRequest withDescription(String description)
The description of the model.
description - The description 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.
 
application/json models, this should be JSON schema draft 4
         model.public CreateModelRequest 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 void setContentType(String contentType)
[Required] The content-type for the model.
contentType - [Required] The content-type for the model.public String getContentType()
[Required] The content-type for the model.
public CreateModelRequest withContentType(String contentType)
[Required] The content-type for the model.
contentType - [Required] The content-type for the model.public String toString()
toString in class ObjectObject.toString()public CreateModelRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.