@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateModelResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateModelResult() |
Modifier and Type | Method and Description |
---|---|
UpdateModelResult |
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.
|
UpdateModelResult |
withContentType(String contentType)
The content-type for the model, for example, "application/json".
|
UpdateModelResult |
withDescription(String description)
The description of the model.
|
UpdateModelResult |
withModelId(String modelId)
The model identifier.
|
UpdateModelResult |
withName(String name)
The name of the model.
|
UpdateModelResult |
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 UpdateModelResult 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 UpdateModelResult 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 UpdateModelResult 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 UpdateModelResult 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 UpdateModelResult 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 UpdateModelResult clone()