@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModelVersionDetail extends Object implements Serializable, Cloneable, StructuredPojo
Provides the model version details.
Constructor and Description |
---|
ModelVersionDetail() |
Modifier and Type | Method and Description |
---|---|
ModelVersionDetail |
addTrainingMetricsEntry(String key,
String value)
Add a single TrainingMetrics entry
|
ModelVersionDetail |
addValidationMetricsEntry(String key,
String value)
Add a single ValidationMetrics entry
|
ModelVersionDetail |
clearTrainingMetricsEntries()
Removes all the entries added into TrainingMetrics.
|
ModelVersionDetail |
clearValidationMetricsEntries()
Removes all the entries added into ValidationMetrics.
|
ModelVersionDetail |
clone() |
boolean |
equals(Object obj) |
String |
getCreatedTime()
The timestamp when the model was created.
|
String |
getDescription()
The model description.
|
LabelSchema |
getLabelSchema()
The model label schema.
|
String |
getLastUpdatedTime()
The timestamp when the model was last updated.
|
String |
getModelId()
The model ID.
|
String |
getModelType()
The model type.
|
List<ModelVariable> |
getModelVariables()
The model variables.
|
String |
getModelVersionNumber()
The model version.
|
String |
getStatus()
The model status.
|
TrainingDataSource |
getTrainingDataSource()
The model training data source.
|
Map<String,String> |
getTrainingMetrics()
The model training metrics.
|
Map<String,String> |
getValidationMetrics()
The model validation metrics.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedTime(String createdTime)
The timestamp when the model was created.
|
void |
setDescription(String description)
The model description.
|
void |
setLabelSchema(LabelSchema labelSchema)
The model label schema.
|
void |
setLastUpdatedTime(String lastUpdatedTime)
The timestamp when the model was last updated.
|
void |
setModelId(String modelId)
The model ID.
|
void |
setModelType(String modelType)
The model type.
|
void |
setModelVariables(Collection<ModelVariable> modelVariables)
The model variables.
|
void |
setModelVersionNumber(String modelVersionNumber)
The model version.
|
void |
setStatus(String status)
The model status.
|
void |
setTrainingDataSource(TrainingDataSource trainingDataSource)
The model training data source.
|
void |
setTrainingMetrics(Map<String,String> trainingMetrics)
The model training metrics.
|
void |
setValidationMetrics(Map<String,String> validationMetrics)
The model validation metrics.
|
String |
toString()
Returns a string representation of this object.
|
ModelVersionDetail |
withCreatedTime(String createdTime)
The timestamp when the model was created.
|
ModelVersionDetail |
withDescription(String description)
The model description.
|
ModelVersionDetail |
withLabelSchema(LabelSchema labelSchema)
The model label schema.
|
ModelVersionDetail |
withLastUpdatedTime(String lastUpdatedTime)
The timestamp when the model was last updated.
|
ModelVersionDetail |
withModelId(String modelId)
The model ID.
|
ModelVersionDetail |
withModelType(ModelTypeEnum modelType)
The model type.
|
ModelVersionDetail |
withModelType(String modelType)
The model type.
|
ModelVersionDetail |
withModelVariables(Collection<ModelVariable> modelVariables)
The model variables.
|
ModelVersionDetail |
withModelVariables(ModelVariable... modelVariables)
The model variables.
|
ModelVersionDetail |
withModelVersionNumber(String modelVersionNumber)
The model version.
|
ModelVersionDetail |
withStatus(String status)
The model status.
|
ModelVersionDetail |
withTrainingDataSource(TrainingDataSource trainingDataSource)
The model training data source.
|
ModelVersionDetail |
withTrainingMetrics(Map<String,String> trainingMetrics)
The model training metrics.
|
ModelVersionDetail |
withValidationMetrics(Map<String,String> validationMetrics)
The model validation metrics.
|
public void setModelId(String modelId)
The model ID.
modelId
- The model ID.public String getModelId()
The model ID.
public ModelVersionDetail 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 ModelVersionDetail withModelType(String modelType)
The model type.
modelType
- The model type.ModelTypeEnum
public ModelVersionDetail withModelType(ModelTypeEnum modelType)
The model type.
modelType
- The model type.ModelTypeEnum
public void setModelVersionNumber(String modelVersionNumber)
The model version.
modelVersionNumber
- The model version.public String getModelVersionNumber()
The model version.
public ModelVersionDetail withModelVersionNumber(String modelVersionNumber)
The model version.
modelVersionNumber
- The model version.public void setDescription(String description)
The model description.
description
- The model description.public String getDescription()
The model description.
public ModelVersionDetail withDescription(String description)
The model description.
description
- The model description.public void setStatus(String status)
The model status.
status
- The model status.public String getStatus()
The model status.
public ModelVersionDetail withStatus(String status)
The model status.
status
- The model status.public void setTrainingDataSource(TrainingDataSource trainingDataSource)
The model training data source.
trainingDataSource
- The model training data source.public TrainingDataSource getTrainingDataSource()
The model training data source.
public ModelVersionDetail withTrainingDataSource(TrainingDataSource trainingDataSource)
The model training data source.
trainingDataSource
- The model training data source.public List<ModelVariable> getModelVariables()
The model variables.
public void setModelVariables(Collection<ModelVariable> modelVariables)
The model variables.
modelVariables
- The model variables.public ModelVersionDetail withModelVariables(ModelVariable... modelVariables)
The model 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 variables.public ModelVersionDetail withModelVariables(Collection<ModelVariable> modelVariables)
The model variables.
modelVariables
- The model variables.public void setLabelSchema(LabelSchema labelSchema)
The model label schema.
labelSchema
- The model label schema.public LabelSchema getLabelSchema()
The model label schema.
public ModelVersionDetail withLabelSchema(LabelSchema labelSchema)
The model label schema.
labelSchema
- The model label schema.public Map<String,String> getValidationMetrics()
The model validation metrics.
public void setValidationMetrics(Map<String,String> validationMetrics)
The model validation metrics.
validationMetrics
- The model validation metrics.public ModelVersionDetail withValidationMetrics(Map<String,String> validationMetrics)
The model validation metrics.
validationMetrics
- The model validation metrics.public ModelVersionDetail addValidationMetricsEntry(String key, String value)
public ModelVersionDetail clearValidationMetricsEntries()
public Map<String,String> getTrainingMetrics()
The model training metrics.
public void setTrainingMetrics(Map<String,String> trainingMetrics)
The model training metrics.
trainingMetrics
- The model training metrics.public ModelVersionDetail withTrainingMetrics(Map<String,String> trainingMetrics)
The model training metrics.
trainingMetrics
- The model training metrics.public ModelVersionDetail addTrainingMetricsEntry(String key, String value)
public ModelVersionDetail clearTrainingMetricsEntries()
public void setLastUpdatedTime(String lastUpdatedTime)
The timestamp when the model was last updated.
lastUpdatedTime
- The timestamp when the model was last updated.public String getLastUpdatedTime()
The timestamp when the model was last updated.
public ModelVersionDetail withLastUpdatedTime(String lastUpdatedTime)
The timestamp when the model was last updated.
lastUpdatedTime
- The timestamp when the model was last updated.public void setCreatedTime(String createdTime)
The timestamp when the model was created.
createdTime
- The timestamp when the model was created.public String getCreatedTime()
The timestamp when the model was created.
public ModelVersionDetail withCreatedTime(String createdTime)
The timestamp when the model was created.
createdTime
- The timestamp when the model was created.public String toString()
toString
in class Object
Object.toString()
public ModelVersionDetail clone()
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.