Class TrainingJobSummary
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.TrainingJobSummary
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<TrainingJobSummary.Builder,TrainingJobSummary>
@Generated("software.amazon.awssdk:codegen") public final class TrainingJobSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TrainingJobSummary.Builder,TrainingJobSummary>
Provides summary information about a training job.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
TrainingJobSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TrainingJobSummary.Builder
builder()
Instant
creationTime()
A timestamp that shows when the training job was created.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Instant
lastModifiedTime()
Timestamp when the training job was last modified.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
SecondaryStatus
secondaryStatus()
The secondary status of the training job.String
secondaryStatusAsString()
The secondary status of the training job.static Class<? extends TrainingJobSummary.Builder>
serializableBuilderClass()
TrainingJobSummary.Builder
toBuilder()
String
toString()
Returns a string representation of this object.Instant
trainingEndTime()
A timestamp that shows when the training job ended.String
trainingJobArn()
The Amazon Resource Name (ARN) of the training job.String
trainingJobName()
The name of the training job that you want a summary for.TrainingJobStatus
trainingJobStatus()
The status of the training job.String
trainingJobStatusAsString()
The status of the training job.WarmPoolStatus
warmPoolStatus()
The status of the warm pool associated with the training job.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
trainingJobName
public final String trainingJobName()
The name of the training job that you want a summary for.
- Returns:
- The name of the training job that you want a summary for.
-
trainingJobArn
public final String trainingJobArn()
The Amazon Resource Name (ARN) of the training job.
- Returns:
- The Amazon Resource Name (ARN) of the training job.
-
creationTime
public final Instant creationTime()
A timestamp that shows when the training job was created.
- Returns:
- A timestamp that shows when the training job was created.
-
trainingEndTime
public final Instant 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
, orStopped
).- Returns:
- 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
, orStopped
).
-
lastModifiedTime
public final Instant lastModifiedTime()
Timestamp when the training job was last modified.
- Returns:
- Timestamp when the training job was last modified.
-
trainingJobStatus
public final TrainingJobStatus trainingJobStatus()
The status of the training job.
If the service returns an enum value that is not available in the current SDK version,
trainingJobStatus
will returnTrainingJobStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtrainingJobStatusAsString()
.- Returns:
- The status of the training job.
- See Also:
TrainingJobStatus
-
trainingJobStatusAsString
public final String trainingJobStatusAsString()
The status of the training job.
If the service returns an enum value that is not available in the current SDK version,
trainingJobStatus
will returnTrainingJobStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtrainingJobStatusAsString()
.- Returns:
- The status of the training job.
- See Also:
TrainingJobStatus
-
secondaryStatus
public final SecondaryStatus secondaryStatus()
The secondary status of the training job.
If the service returns an enum value that is not available in the current SDK version,
secondaryStatus
will returnSecondaryStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsecondaryStatusAsString()
.- Returns:
- The secondary status of the training job.
- See Also:
SecondaryStatus
-
secondaryStatusAsString
public final String secondaryStatusAsString()
The secondary status of the training job.
If the service returns an enum value that is not available in the current SDK version,
secondaryStatus
will returnSecondaryStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsecondaryStatusAsString()
.- Returns:
- The secondary status of the training job.
- See Also:
SecondaryStatus
-
warmPoolStatus
public final WarmPoolStatus warmPoolStatus()
The status of the warm pool associated with the training job.
- Returns:
- The status of the warm pool associated with the training job.
-
toBuilder
public TrainingJobSummary.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<TrainingJobSummary.Builder,TrainingJobSummary>
-
builder
public static TrainingJobSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends TrainingJobSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-