@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateModelVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateModelVersionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateModelVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ExternalEventsDetail |
getExternalEventsDetail()
Details of the external events data used for model version training.
|
IngestedEventsDetail |
getIngestedEventsDetail()
Details of the ingested events data used for model version training.
|
String |
getModelId()
The model ID.
|
String |
getModelType()
The model type.
|
List<Tag> |
getTags()
A collection of key and value pairs.
|
TrainingDataSchema |
getTrainingDataSchema()
The training data schema.
|
String |
getTrainingDataSource()
The training data source location in Amazon S3.
|
int |
hashCode() |
void |
setExternalEventsDetail(ExternalEventsDetail externalEventsDetail)
Details of the external events data used for model version training.
|
void |
setIngestedEventsDetail(IngestedEventsDetail ingestedEventsDetail)
Details of the ingested events data used for model version training.
|
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.
|
void |
setTrainingDataSchema(TrainingDataSchema trainingDataSchema)
The training data schema.
|
void |
setTrainingDataSource(String trainingDataSource)
The training data source location in Amazon S3.
|
String |
toString()
Returns a string representation of this object.
|
CreateModelVersionRequest |
withExternalEventsDetail(ExternalEventsDetail externalEventsDetail)
Details of the external events data used for model version training.
|
CreateModelVersionRequest |
withIngestedEventsDetail(IngestedEventsDetail ingestedEventsDetail)
Details of the ingested events data used for model version training.
|
CreateModelVersionRequest |
withModelId(String modelId)
The model ID.
|
CreateModelVersionRequest |
withModelType(ModelTypeEnum modelType)
The model type.
|
CreateModelVersionRequest |
withModelType(String modelType)
The model type.
|
CreateModelVersionRequest |
withTags(Collection<Tag> tags)
A collection of key and value pairs.
|
CreateModelVersionRequest |
withTags(Tag... tags)
A collection of key and value pairs.
|
CreateModelVersionRequest |
withTrainingDataSchema(TrainingDataSchema trainingDataSchema)
The training data schema.
|
CreateModelVersionRequest |
withTrainingDataSource(String trainingDataSource)
The training data source location in Amazon S3.
|
CreateModelVersionRequest |
withTrainingDataSource(TrainingDataSourceEnum trainingDataSource)
The training data source location in Amazon S3.
|
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 CreateModelVersionRequest 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 CreateModelVersionRequest withModelType(String modelType)
The model type.
modelType
- The model type.ModelTypeEnum
public CreateModelVersionRequest withModelType(ModelTypeEnum modelType)
The model type.
modelType
- The model type.ModelTypeEnum
public void setTrainingDataSource(String trainingDataSource)
The training data source location in Amazon S3.
trainingDataSource
- The training data source location in Amazon S3.TrainingDataSourceEnum
public String getTrainingDataSource()
The training data source location in Amazon S3.
TrainingDataSourceEnum
public CreateModelVersionRequest withTrainingDataSource(String trainingDataSource)
The training data source location in Amazon S3.
trainingDataSource
- The training data source location in Amazon S3.TrainingDataSourceEnum
public CreateModelVersionRequest withTrainingDataSource(TrainingDataSourceEnum trainingDataSource)
The training data source location in Amazon S3.
trainingDataSource
- The training data source location in Amazon S3.TrainingDataSourceEnum
public void setTrainingDataSchema(TrainingDataSchema trainingDataSchema)
The training data schema.
trainingDataSchema
- The training data schema.public TrainingDataSchema getTrainingDataSchema()
The training data schema.
public CreateModelVersionRequest withTrainingDataSchema(TrainingDataSchema trainingDataSchema)
The training data schema.
trainingDataSchema
- The training data schema.public void setExternalEventsDetail(ExternalEventsDetail externalEventsDetail)
Details of the external events data used for model version training. Required if trainingDataSource
is EXTERNAL_EVENTS
.
externalEventsDetail
- Details of the external events data used for model version training. Required if
trainingDataSource
is EXTERNAL_EVENTS
.public ExternalEventsDetail getExternalEventsDetail()
Details of the external events data used for model version training. Required if trainingDataSource
is EXTERNAL_EVENTS
.
trainingDataSource
is EXTERNAL_EVENTS
.public CreateModelVersionRequest withExternalEventsDetail(ExternalEventsDetail externalEventsDetail)
Details of the external events data used for model version training. Required if trainingDataSource
is EXTERNAL_EVENTS
.
externalEventsDetail
- Details of the external events data used for model version training. Required if
trainingDataSource
is EXTERNAL_EVENTS
.public void setIngestedEventsDetail(IngestedEventsDetail ingestedEventsDetail)
Details of the ingested events data used for model version training. Required if trainingDataSource
is INGESTED_EVENTS
.
ingestedEventsDetail
- Details of the ingested events data used for model version training. Required if
trainingDataSource
is INGESTED_EVENTS
.public IngestedEventsDetail getIngestedEventsDetail()
Details of the ingested events data used for model version training. Required if trainingDataSource
is INGESTED_EVENTS
.
trainingDataSource
is INGESTED_EVENTS
.public CreateModelVersionRequest withIngestedEventsDetail(IngestedEventsDetail ingestedEventsDetail)
Details of the ingested events data used for model version training. Required if trainingDataSource
is INGESTED_EVENTS
.
ingestedEventsDetail
- Details of the ingested events data used for model version training. Required if
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 CreateModelVersionRequest 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 CreateModelVersionRequest 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 CreateModelVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()