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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TrainingJobSummary.BuildercreationTime(Instant creationTime)A timestamp that shows when the training job was created.TrainingJobSummary.BuilderlastModifiedTime(Instant lastModifiedTime)Timestamp when the training job was last modified.TrainingJobSummary.BuildertrainingEndTime(Instant trainingEndTime)A timestamp that shows when the training job ended.TrainingJobSummary.BuildertrainingJobArn(String trainingJobArn)The Amazon Resource Name (ARN) of the training job.TrainingJobSummary.BuildertrainingJobName(String trainingJobName)The name of the training job that you want a summary for.TrainingJobSummary.BuildertrainingJobStatus(String trainingJobStatus)The status of the training job.TrainingJobSummary.BuildertrainingJobStatus(TrainingJobStatus trainingJobStatus)The status of the training job.default TrainingJobSummary.BuilderwarmPoolStatus(Consumer<WarmPoolStatus.Builder> warmPoolStatus)The status of the warm pool associated with the training job.TrainingJobSummary.BuilderwarmPoolStatus(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 Detail
-
trainingJobName
TrainingJobSummary.Builder trainingJobName(String 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
TrainingJobSummary.Builder trainingJobArn(String 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
TrainingJobSummary.Builder creationTime(Instant 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
TrainingJobSummary.Builder trainingEndTime(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).- 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
TrainingJobSummary.Builder lastModifiedTime(Instant 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
TrainingJobSummary.Builder trainingJobStatus(String 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,TrainingJobStatus
-
trainingJobStatus
TrainingJobSummary.Builder trainingJobStatus(TrainingJobStatus 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,TrainingJobStatus
-
warmPoolStatus
TrainingJobSummary.Builder warmPoolStatus(WarmPoolStatus 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
default TrainingJobSummary.Builder warmPoolStatus(Consumer<WarmPoolStatus.Builder> warmPoolStatus)
The status of the warm pool associated with the training job.
This is a convenience method that creates an instance of theWarmPoolStatus.Builderavoiding the need to create one manually viaWarmPoolStatus.builder().When the
Consumercompletes,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:
warmPoolStatus(WarmPoolStatus)
-
-