@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateModelVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateModelVersionRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateModelVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ExternalEventsDetail |
getExternalEventsDetail()
The details of the external events data used for training the model version.
|
IngestedEventsDetail |
getIngestedEventsDetail()
The details of the ingested event used for training the model version.
|
String |
getMajorVersionNumber()
The major version number.
|
String |
getModelId()
The model ID.
|
String |
getModelType()
The model type.
|
List<Tag> |
getTags()
A collection of key and value pairs.
|
int |
hashCode() |
void |
setExternalEventsDetail(ExternalEventsDetail externalEventsDetail)
The details of the external events data used for training the model version.
|
void |
setIngestedEventsDetail(IngestedEventsDetail ingestedEventsDetail)
The details of the ingested event used for training the model version.
|
void |
setMajorVersionNumber(String majorVersionNumber)
The major version number.
|
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.
|
UpdateModelVersionRequest |
withExternalEventsDetail(ExternalEventsDetail externalEventsDetail)
The details of the external events data used for training the model version.
|
UpdateModelVersionRequest |
withIngestedEventsDetail(IngestedEventsDetail ingestedEventsDetail)
The details of the ingested event used for training the model version.
|
UpdateModelVersionRequest |
withMajorVersionNumber(String majorVersionNumber)
The major version number.
|
UpdateModelVersionRequest |
withModelId(String modelId)
The model ID.
|
UpdateModelVersionRequest |
withModelType(ModelTypeEnum modelType)
The model type.
|
UpdateModelVersionRequest |
withModelType(String modelType)
The model type.
|
UpdateModelVersionRequest |
withTags(Collection<Tag> tags)
A collection of key and value pairs.
|
UpdateModelVersionRequest |
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 UpdateModelVersionRequest 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 UpdateModelVersionRequest withModelType(String modelType)
The model type.
modelType
- The model type.ModelTypeEnum
public UpdateModelVersionRequest withModelType(ModelTypeEnum modelType)
The model type.
modelType
- The model type.ModelTypeEnum
public void setMajorVersionNumber(String majorVersionNumber)
The major version number.
majorVersionNumber
- The major version number.public String getMajorVersionNumber()
The major version number.
public UpdateModelVersionRequest withMajorVersionNumber(String majorVersionNumber)
The major version number.
majorVersionNumber
- The major version number.public void setExternalEventsDetail(ExternalEventsDetail externalEventsDetail)
The details of the external events data used for training the model version. Required if
trainingDataSource
is EXTERNAL_EVENTS
.
externalEventsDetail
- The details of the external events data used for training the model version. Required if
trainingDataSource
is EXTERNAL_EVENTS
.public ExternalEventsDetail getExternalEventsDetail()
The details of the external events data used for training the model version. Required if
trainingDataSource
is EXTERNAL_EVENTS
.
trainingDataSource
is EXTERNAL_EVENTS
.public UpdateModelVersionRequest withExternalEventsDetail(ExternalEventsDetail externalEventsDetail)
The details of the external events data used for training the model version. Required if
trainingDataSource
is EXTERNAL_EVENTS
.
externalEventsDetail
- The details of the external events data used for training the model version. Required if
trainingDataSource
is EXTERNAL_EVENTS
.public void setIngestedEventsDetail(IngestedEventsDetail ingestedEventsDetail)
The details of the ingested event used for training the model version. Required if your
trainingDataSource
is INGESTED_EVENTS
.
ingestedEventsDetail
- The details of the ingested event used for training the model version. Required if your
trainingDataSource
is INGESTED_EVENTS
.public IngestedEventsDetail getIngestedEventsDetail()
The details of the ingested event used for training the model version. Required if your
trainingDataSource
is INGESTED_EVENTS
.
trainingDataSource
is INGESTED_EVENTS
.public UpdateModelVersionRequest withIngestedEventsDetail(IngestedEventsDetail ingestedEventsDetail)
The details of the ingested event used for training the model version. Required if your
trainingDataSource
is INGESTED_EVENTS
.
ingestedEventsDetail
- The details of the ingested event used for training the model version. Required if your
trainingDataSource
is INGESTED_EVENTS
.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 UpdateModelVersionRequest 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 UpdateModelVersionRequest 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 UpdateModelVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()