@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()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getContentType()
 The content-type for the model. | 
| String | getDescription()
 The description of the model. | 
| String | getName()
 The name of the model. | 
| String | getRestApiId() | 
| String | getSchema()
 The schema for the model. | 
| int | hashCode() | 
| void | setContentType(String contentType)
 The content-type for the model. | 
| void | setDescription(String description)
 The description of the model. | 
| void | setName(String name)
 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; useful for testing and debugging. | 
| CreateModelRequest | withContentType(String contentType)
 The content-type for the model. | 
| CreateModelRequest | withDescription(String description)
 The description of the model. | 
| CreateModelRequest | withName(String name)
 The name of the model. | 
| CreateModelRequest | withRestApiId(String restApiId) | 
| CreateModelRequest | 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, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setRestApiId(String restApiId)
public String getRestApiId()
public CreateModelRequest withRestApiId(String restApiId)
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 CreateModelRequest withName(String name)
The name of the model.
name - The name of the model.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 v4 model.
 
schema - The schema for the model. For application/json models, this should be JSON-schema draft v4 model.public String getSchema()
 The schema for the model. For application/json models, this should be JSON-schema draft v4 model.
 
application/json models, this should be JSON-schema draft v4 model.public CreateModelRequest withSchema(String schema)
 The schema for the model. For application/json models, this should be JSON-schema draft v4 model.
 
schema - The schema for the model. For application/json models, this should be JSON-schema draft v4 model.public void setContentType(String contentType)
The content-type for the model.
contentType - The content-type for the model.public String getContentType()
The content-type for the model.
public CreateModelRequest withContentType(String contentType)
The content-type for the model.
contentType - The content-type for the model.public String toString()
toString in class ObjectObject.toString()public CreateModelRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.