@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Model extends Object implements Serializable, Cloneable, StructuredPojo
The model.
Constructor and Description |
---|
Model() |
Modifier and Type | Method and Description |
---|---|
Model |
clone() |
boolean |
equals(Object obj) |
String |
getCreatedTime()
Timestamp of when the model was created.
|
String |
getDescription()
The model description.
|
LabelSchema |
getLabelSchema()
The model label schema.
|
String |
getLastUpdatedTime()
Timestamp of last time the model was updated.
|
String |
getModelId()
The model ID.
|
String |
getModelType()
The model type.
|
List<ModelVariable> |
getModelVariables()
The model input variables.
|
TrainingDataSource |
getTrainingDataSource()
The model training data source in Amazon S3.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedTime(String createdTime)
Timestamp of when the model was created.
|
void |
setDescription(String description)
The model description.
|
void |
setLabelSchema(LabelSchema labelSchema)
The model label schema.
|
void |
setLastUpdatedTime(String lastUpdatedTime)
Timestamp of last time the model was updated.
|
void |
setModelId(String modelId)
The model ID.
|
void |
setModelType(String modelType)
The model type.
|
void |
setModelVariables(Collection<ModelVariable> modelVariables)
The model input variables.
|
void |
setTrainingDataSource(TrainingDataSource trainingDataSource)
The model training data source in Amazon S3.
|
String |
toString()
Returns a string representation of this object.
|
Model |
withCreatedTime(String createdTime)
Timestamp of when the model was created.
|
Model |
withDescription(String description)
The model description.
|
Model |
withLabelSchema(LabelSchema labelSchema)
The model label schema.
|
Model |
withLastUpdatedTime(String lastUpdatedTime)
Timestamp of last time the model was updated.
|
Model |
withModelId(String modelId)
The model ID.
|
Model |
withModelType(ModelTypeEnum modelType)
The model type.
|
Model |
withModelType(String modelType)
The model type.
|
Model |
withModelVariables(Collection<ModelVariable> modelVariables)
The model input variables.
|
Model |
withModelVariables(ModelVariable... modelVariables)
The model input variables.
|
Model |
withTrainingDataSource(TrainingDataSource trainingDataSource)
The model training data source in Amazon S3.
|
public void setModelId(String modelId)
The model ID.
modelId
- The model ID.public String getModelId()
The model ID.
public Model 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 Model withModelType(String modelType)
The model type.
modelType
- The model type.ModelTypeEnum
public Model 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 Model withDescription(String description)
The model description.
description
- The model description.public void setTrainingDataSource(TrainingDataSource trainingDataSource)
The model training data source in Amazon S3.
trainingDataSource
- The model training data source in Amazon S3.public TrainingDataSource getTrainingDataSource()
The model training data source in Amazon S3.
public Model withTrainingDataSource(TrainingDataSource trainingDataSource)
The model training data source in Amazon S3.
trainingDataSource
- The model training data source in Amazon S3.public List<ModelVariable> getModelVariables()
The model input variables.
public void setModelVariables(Collection<ModelVariable> modelVariables)
The model input variables.
modelVariables
- The model input variables.public Model withModelVariables(ModelVariable... modelVariables)
The model input variables.
NOTE: This method appends the values to the existing list (if any). Use
setModelVariables(java.util.Collection)
or withModelVariables(java.util.Collection)
if you want
to override the existing values.
modelVariables
- The model input variables.public Model withModelVariables(Collection<ModelVariable> modelVariables)
The model input variables.
modelVariables
- The model input variables.public void setLabelSchema(LabelSchema labelSchema)
The model label schema.
labelSchema
- The model label schema.public LabelSchema getLabelSchema()
The model label schema.
public Model withLabelSchema(LabelSchema labelSchema)
The model label schema.
labelSchema
- The model label schema.public void setLastUpdatedTime(String lastUpdatedTime)
Timestamp of last time the model was updated.
lastUpdatedTime
- Timestamp of last time the model was updated.public String getLastUpdatedTime()
Timestamp of last time the model was updated.
public Model withLastUpdatedTime(String lastUpdatedTime)
Timestamp of last time the model was updated.
lastUpdatedTime
- Timestamp of last time the model was updated.public void setCreatedTime(String createdTime)
Timestamp of when the model was created.
createdTime
- Timestamp of when the model was created.public String getCreatedTime()
Timestamp of when the model was created.
public Model withCreatedTime(String createdTime)
Timestamp of when the model was created.
createdTime
- Timestamp of when the model was created.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.