@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 |
getDescription()
The model description.
|
String |
getEventTypeName()
The name of the event type.
|
String |
getModelId()
The model ID.
|
String |
getModelType()
The model type.
|
List<Tag> |
getTags()
A collection of key and value pairs.
|
int |
hashCode() |
void |
setDescription(String description)
The model description.
|
void |
setEventTypeName(String eventTypeName)
The name of the event type.
|
void |
setModelId(String modelId)
The model ID.
|
void |
setModelType(String modelType)
The model type.
|
void |
setTags(Collection<Tag> tags)
A collection of key and value pairs.
|
String |
toString()
Returns a string representation of this object.
|
CreateModelRequest |
withDescription(String description)
The model description.
|
CreateModelRequest |
withEventTypeName(String eventTypeName)
The name of the event type.
|
CreateModelRequest |
withModelId(String modelId)
The model ID.
|
CreateModelRequest |
withModelType(ModelTypeEnum modelType)
The model type.
|
CreateModelRequest |
withModelType(String modelType)
The model type.
|
CreateModelRequest |
withTags(Collection<Tag> tags)
A collection of key and value pairs.
|
CreateModelRequest |
withTags(Tag... tags)
A collection of key and value pairs.
|
addHandlerContext, 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, withSdkRequestTimeout
public void setModelId(String modelId)
The model ID.
modelId
- The model ID.public String getModelId()
The model ID.
public CreateModelRequest withModelId(String modelId)
The model ID.
modelId
- The model ID.public void setModelType(String modelType)
The model type.
modelType
- The model type.ModelTypeEnum
public String getModelType()
The model type.
ModelTypeEnum
public CreateModelRequest withModelType(String modelType)
The model type.
modelType
- The model type.ModelTypeEnum
public CreateModelRequest withModelType(ModelTypeEnum modelType)
The model type.
modelType
- The model type.ModelTypeEnum
public void setDescription(String description)
The model description.
description
- The model description.public String getDescription()
The model description.
public CreateModelRequest withDescription(String description)
The model description.
description
- The model description.public void setEventTypeName(String eventTypeName)
The name of the event type.
eventTypeName
- The name of the event type.public String getEventTypeName()
The name of the event type.
public CreateModelRequest withEventTypeName(String eventTypeName)
The name of the event type.
eventTypeName
- The name of the event type.public List<Tag> getTags()
A collection of key and value pairs.
public void setTags(Collection<Tag> tags)
A collection of key and value pairs.
tags
- A collection of key and value pairs.public CreateModelRequest withTags(Tag... tags)
A collection of key and value pairs.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A collection of key and value pairs.public CreateModelRequest withTags(Collection<Tag> tags)
A collection of key and value pairs.
tags
- A collection of key and value pairs.public String toString()
toString
in class Object
Object.toString()
public CreateModelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()