@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetModelResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetModelResult() |
Modifier and Type | Method and Description |
---|---|
GetModelResult |
clone() |
boolean |
equals(Object obj) |
String |
getContentType()
The content-type for the model, for example, "application/json".
|
String |
getDescription()
The description of the model.
|
String |
getModelId()
The model identifier.
|
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, for example, "application/json".
|
void |
setDescription(String description)
The description of the model.
|
void |
setModelId(String modelId)
The model identifier.
|
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.
|
GetModelResult |
withContentType(String contentType)
The content-type for the model, for example, "application/json".
|
GetModelResult |
withDescription(String description)
The description of the model.
|
GetModelResult |
withModelId(String modelId)
The model identifier.
|
GetModelResult |
withName(String name)
The name of the model.
|
GetModelResult |
withSchema(String schema)
The schema for the model.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 GetModelResult 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 GetModelResult withDescription(String description)
The description of the model.
description
- The description of the model.public void setModelId(String modelId)
The model identifier.
modelId
- The model identifier.public String getModelId()
The model identifier.
public GetModelResult withModelId(String modelId)
The model identifier.
modelId
- The model identifier.public void setName(String name)
The name of the model. Must be alphanumeric.
name
- The name of the model. Must be alphanumeric.public String getName()
The name of the model. Must be alphanumeric.
public GetModelResult withName(String name)
The name of the model. Must be alphanumeric.
name
- The name of the model. Must be alphanumeric.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 GetModelResult 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 Object
Object.toString()
public GetModelResult clone()