@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModelMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Describes an Amazon Lookout for Vision model.
Constructor and Description |
---|
ModelMetadata() |
Modifier and Type | Method and Description |
---|---|
ModelMetadata |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTimestamp()
The unix timestamp for the date and time that the model was created.
|
String |
getDescription()
The description for the model.
|
String |
getModelArn()
The Amazon Resource Name (ARN) of the model.
|
String |
getModelVersion()
The version of the model.
|
ModelPerformance |
getPerformance()
Performance metrics for the model.
|
String |
getStatus()
The status of the model.
|
String |
getStatusMessage()
The status message for the model.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationTimestamp(Date creationTimestamp)
The unix timestamp for the date and time that the model was created.
|
void |
setDescription(String description)
The description for the model.
|
void |
setModelArn(String modelArn)
The Amazon Resource Name (ARN) of the model.
|
void |
setModelVersion(String modelVersion)
The version of the model.
|
void |
setPerformance(ModelPerformance performance)
Performance metrics for the model.
|
void |
setStatus(String status)
The status of the model.
|
void |
setStatusMessage(String statusMessage)
The status message for the model.
|
String |
toString()
Returns a string representation of this object.
|
ModelMetadata |
withCreationTimestamp(Date creationTimestamp)
The unix timestamp for the date and time that the model was created.
|
ModelMetadata |
withDescription(String description)
The description for the model.
|
ModelMetadata |
withModelArn(String modelArn)
The Amazon Resource Name (ARN) of the model.
|
ModelMetadata |
withModelVersion(String modelVersion)
The version of the model.
|
ModelMetadata |
withPerformance(ModelPerformance performance)
Performance metrics for the model.
|
ModelMetadata |
withStatus(ModelStatus status)
The status of the model.
|
ModelMetadata |
withStatus(String status)
The status of the model.
|
ModelMetadata |
withStatusMessage(String statusMessage)
The status message for the model.
|
public void setCreationTimestamp(Date creationTimestamp)
The unix timestamp for the date and time that the model was created.
creationTimestamp
- The unix timestamp for the date and time that the model was created.public Date getCreationTimestamp()
The unix timestamp for the date and time that the model was created.
public ModelMetadata withCreationTimestamp(Date creationTimestamp)
The unix timestamp for the date and time that the model was created.
creationTimestamp
- The unix timestamp for the date and time that the model was created.public void setModelVersion(String modelVersion)
The version of the model.
modelVersion
- The version of the model.public String getModelVersion()
The version of the model.
public ModelMetadata withModelVersion(String modelVersion)
The version of the model.
modelVersion
- The version of the model.public void setModelArn(String modelArn)
The Amazon Resource Name (ARN) of the model.
modelArn
- The Amazon Resource Name (ARN) of the model.public String getModelArn()
The Amazon Resource Name (ARN) of the model.
public ModelMetadata withModelArn(String modelArn)
The Amazon Resource Name (ARN) of the model.
modelArn
- The Amazon Resource Name (ARN) of the model.public void setDescription(String description)
The description for the model.
description
- The description for the model.public String getDescription()
The description for the model.
public ModelMetadata withDescription(String description)
The description for the model.
description
- The description for the model.public void setStatus(String status)
The status of the model.
status
- The status of the model.ModelStatus
public String getStatus()
The status of the model.
ModelStatus
public ModelMetadata withStatus(String status)
The status of the model.
status
- The status of the model.ModelStatus
public ModelMetadata withStatus(ModelStatus status)
The status of the model.
status
- The status of the model.ModelStatus
public void setStatusMessage(String statusMessage)
The status message for the model.
statusMessage
- The status message for the model.public String getStatusMessage()
The status message for the model.
public ModelMetadata withStatusMessage(String statusMessage)
The status message for the model.
statusMessage
- The status message for the model.public void setPerformance(ModelPerformance performance)
Performance metrics for the model. Not available until training has successfully completed.
performance
- Performance metrics for the model. Not available until training has successfully completed.public ModelPerformance getPerformance()
Performance metrics for the model. Not available until training has successfully completed.
public ModelMetadata withPerformance(ModelPerformance performance)
Performance metrics for the model. Not available until training has successfully completed.
performance
- Performance metrics for the model. Not available until training has successfully completed.public String toString()
toString
in class Object
Object.toString()
public ModelMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.