Interface TrainingJobSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TrainingJobSummary.Builder,
,TrainingJobSummary> SdkBuilder<TrainingJobSummary.Builder,
,TrainingJobSummary> SdkPojo
- Enclosing class:
TrainingJobSummary
public static interface TrainingJobSummary.Builder
extends SdkPojo, CopyableBuilder<TrainingJobSummary.Builder,TrainingJobSummary>
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) A timestamp that shows when the training job was created.lastModifiedTime
(Instant lastModifiedTime) Timestamp when the training job was last modified.trainingEndTime
(Instant trainingEndTime) A timestamp that shows when the training job ended.trainingJobArn
(String trainingJobArn) The Amazon Resource Name (ARN) of the training job.trainingJobName
(String trainingJobName) The name of the training job that you want a summary for.trainingJobStatus
(String trainingJobStatus) The status of the training job.trainingJobStatus
(TrainingJobStatus trainingJobStatus) The status of the training job.default TrainingJobSummary.Builder
warmPoolStatus
(Consumer<WarmPoolStatus.Builder> warmPoolStatus) The status of the warm pool associated with the training job.warmPoolStatus
(WarmPoolStatus warmPoolStatus) The status of the warm pool associated with the training job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
trainingJobName
The name of the training job that you want a summary for.
- Parameters:
trainingJobName
- The name of the training job that you want a summary for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingJobArn
The Amazon Resource Name (ARN) of the training job.
- Parameters:
trainingJobArn
- The Amazon Resource Name (ARN) of the training job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
A timestamp that shows when the training job was created.
- Parameters:
creationTime
- A timestamp that shows when the training job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
).- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
Timestamp when the training job was last modified.
- Parameters:
lastModifiedTime
- Timestamp when the training job was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingJobStatus
The status of the training job.
- Parameters:
trainingJobStatus
- The status of the training job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trainingJobStatus
The status of the training job.
- Parameters:
trainingJobStatus
- The status of the training job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
warmPoolStatus
The status of the warm pool associated with the training job.
- Parameters:
warmPoolStatus
- The status of the warm pool associated with the training job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warmPoolStatus
The status of the warm pool associated with the training job.
This is a convenience method that creates an instance of theWarmPoolStatus.Builder
avoiding the need to create one manually viaWarmPoolStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towarmPoolStatus(WarmPoolStatus)
.- Parameters:
warmPoolStatus
- a consumer that will call methods onWarmPoolStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-