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.Builder
creationTime(Instant creationTime)
A timestamp that shows when the training job was created.TrainingJobSummary.Builder
lastModifiedTime(Instant lastModifiedTime)
Timestamp when the training job was last modified.TrainingJobSummary.Builder
secondaryStatus(String secondaryStatus)
The secondary status of the training job.TrainingJobSummary.Builder
secondaryStatus(SecondaryStatus secondaryStatus)
The secondary status of the training job.TrainingJobSummary.Builder
trainingEndTime(Instant trainingEndTime)
A timestamp that shows when the training job ended.TrainingJobSummary.Builder
trainingJobArn(String trainingJobArn)
The Amazon Resource Name (ARN) of the training job.TrainingJobSummary.Builder
trainingJobName(String trainingJobName)
The name of the training job that you want a summary for.TrainingJobSummary.Builder
trainingJobStatus(String trainingJobStatus)
The status of the training job.TrainingJobSummary.Builder
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.TrainingJobSummary.Builder
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, sdkFieldNameToField, 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
-
secondaryStatus
TrainingJobSummary.Builder secondaryStatus(String secondaryStatus)
The secondary status of the training job.
- Parameters:
secondaryStatus
- The secondary status of the training job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SecondaryStatus
,SecondaryStatus
-
secondaryStatus
TrainingJobSummary.Builder secondaryStatus(SecondaryStatus secondaryStatus)
The secondary status of the training job.
- Parameters:
secondaryStatus
- The secondary status of the training job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SecondaryStatus
,SecondaryStatus
-
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.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:
warmPoolStatus(WarmPoolStatus)
-
-