public class CreateModelResult extends Object implements Serializable, Cloneable
Represents the structure of a request or response payload for a method.
| Constructor and Description | 
|---|
| CreateModelResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateModelResult | clone() | 
| boolean | equals(Object obj) | 
| String | getContentType()
 The content-type for the model. | 
| String | getDescription()
 The description of the model. | 
| String | getId()
 The identifier for the model resource. | 
| String | getName()
 The name of the model. | 
| 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 | setId(String id)
 The identifier for the model resource. | 
| 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; useful for testing and
 debugging. | 
| CreateModelResult | withContentType(String contentType)
 The content-type for the model. | 
| CreateModelResult | withDescription(String description)
 The description of the model. | 
| CreateModelResult | withId(String id)
 The identifier for the model resource. | 
| CreateModelResult | withName(String name)
 The name of the model. | 
| CreateModelResult | withSchema(String schema)
 The schema for the model. | 
public void setId(String id)
The identifier for the model resource.
id - The identifier for the model resource.public String getId()
The identifier for the model resource.
public CreateModelResult withId(String id)
The identifier for the model resource.
id - The identifier for the model resource.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 CreateModelResult 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 CreateModelResult 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 CreateModelResult 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 CreateModelResult 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 CreateModelResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.