@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TrainingJobSummary extends Object implements Serializable, Cloneable, StructuredPojo
Provides summary information about a training job.
Constructor and Description |
---|
TrainingJobSummary() |
Modifier and Type | Method and Description |
---|---|
TrainingJobSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
A timestamp that shows when the training job was created.
|
Date |
getLastModifiedTime()
Timestamp when the training job was last modified.
|
Date |
getTrainingEndTime()
A timestamp that shows when the training job ended.
|
String |
getTrainingJobArn()
The Amazon Resource Name (ARN) of the training job.
|
String |
getTrainingJobName()
The name of the training job that you want a summary for.
|
String |
getTrainingJobStatus()
The status of the training job.
|
WarmPoolStatus |
getWarmPoolStatus()
The status of the warm pool associated with the training job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationTime(Date creationTime)
A timestamp that shows when the training job was created.
|
void |
setLastModifiedTime(Date lastModifiedTime)
Timestamp when the training job was last modified.
|
void |
setTrainingEndTime(Date trainingEndTime)
A timestamp that shows when the training job ended.
|
void |
setTrainingJobArn(String trainingJobArn)
The Amazon Resource Name (ARN) of the training job.
|
void |
setTrainingJobName(String trainingJobName)
The name of the training job that you want a summary for.
|
void |
setTrainingJobStatus(String trainingJobStatus)
The status of the training job.
|
void |
setWarmPoolStatus(WarmPoolStatus warmPoolStatus)
The status of the warm pool associated with the training job.
|
String |
toString()
Returns a string representation of this object.
|
TrainingJobSummary |
withCreationTime(Date creationTime)
A timestamp that shows when the training job was created.
|
TrainingJobSummary |
withLastModifiedTime(Date lastModifiedTime)
Timestamp when the training job was last modified.
|
TrainingJobSummary |
withTrainingEndTime(Date trainingEndTime)
A timestamp that shows when the training job ended.
|
TrainingJobSummary |
withTrainingJobArn(String trainingJobArn)
The Amazon Resource Name (ARN) of the training job.
|
TrainingJobSummary |
withTrainingJobName(String trainingJobName)
The name of the training job that you want a summary for.
|
TrainingJobSummary |
withTrainingJobStatus(String trainingJobStatus)
The status of the training job.
|
TrainingJobSummary |
withTrainingJobStatus(TrainingJobStatus trainingJobStatus)
The status of the training job.
|
TrainingJobSummary |
withWarmPoolStatus(WarmPoolStatus warmPoolStatus)
The status of the warm pool associated with the training job.
|
public void setTrainingJobName(String trainingJobName)
The name of the training job that you want a summary for.
trainingJobName
- The name of the training job that you want a summary for.public String getTrainingJobName()
The name of the training job that you want a summary for.
public TrainingJobSummary withTrainingJobName(String trainingJobName)
The name of the training job that you want a summary for.
trainingJobName
- The name of the training job that you want a summary for.public void setTrainingJobArn(String trainingJobArn)
The Amazon Resource Name (ARN) of the training job.
trainingJobArn
- The Amazon Resource Name (ARN) of the training job.public String getTrainingJobArn()
The Amazon Resource Name (ARN) of the training job.
public TrainingJobSummary withTrainingJobArn(String trainingJobArn)
The Amazon Resource Name (ARN) of the training job.
trainingJobArn
- The Amazon Resource Name (ARN) of the training job.public void setCreationTime(Date creationTime)
A timestamp that shows when the training job was created.
creationTime
- A timestamp that shows when the training job was created.public Date getCreationTime()
A timestamp that shows when the training job was created.
public TrainingJobSummary withCreationTime(Date creationTime)
A timestamp that shows when the training job was created.
creationTime
- A timestamp that shows when the training job was created.public void setTrainingEndTime(Date trainingEndTime)
A timestamp that shows when the training job ended. This field is set only if the training job has one of the
terminal statuses (Completed
, Failed
, or Stopped
).
trainingEndTime
- A timestamp that shows when the training job ended. This field is set only if the training job has one of
the terminal statuses (Completed
, Failed
, or Stopped
).public Date getTrainingEndTime()
A timestamp that shows when the training job ended. This field is set only if the training job has one of the
terminal statuses (Completed
, Failed
, or Stopped
).
Completed
, Failed
, or Stopped
).public TrainingJobSummary withTrainingEndTime(Date trainingEndTime)
A timestamp that shows when the training job ended. This field is set only if the training job has one of the
terminal statuses (Completed
, Failed
, or Stopped
).
trainingEndTime
- A timestamp that shows when the training job ended. This field is set only if the training job has one of
the terminal statuses (Completed
, Failed
, or Stopped
).public void setLastModifiedTime(Date lastModifiedTime)
Timestamp when the training job was last modified.
lastModifiedTime
- Timestamp when the training job was last modified.public Date getLastModifiedTime()
Timestamp when the training job was last modified.
public TrainingJobSummary withLastModifiedTime(Date lastModifiedTime)
Timestamp when the training job was last modified.
lastModifiedTime
- Timestamp when the training job was last modified.public void setTrainingJobStatus(String trainingJobStatus)
The status of the training job.
trainingJobStatus
- The status of the training job.TrainingJobStatus
public String getTrainingJobStatus()
The status of the training job.
TrainingJobStatus
public TrainingJobSummary withTrainingJobStatus(String trainingJobStatus)
The status of the training job.
trainingJobStatus
- The status of the training job.TrainingJobStatus
public TrainingJobSummary withTrainingJobStatus(TrainingJobStatus trainingJobStatus)
The status of the training job.
trainingJobStatus
- The status of the training job.TrainingJobStatus
public void setWarmPoolStatus(WarmPoolStatus warmPoolStatus)
The status of the warm pool associated with the training job.
warmPoolStatus
- The status of the warm pool associated with the training job.public WarmPoolStatus getWarmPoolStatus()
The status of the warm pool associated with the training job.
public TrainingJobSummary withWarmPoolStatus(WarmPoolStatus warmPoolStatus)
The status of the warm pool associated with the training job.
warmPoolStatus
- The status of the warm pool associated with the training job.public String toString()
toString
in class Object
Object.toString()
public TrainingJobSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.