Interface ListTrainingJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTrainingJobsResponse.Builder,,ListTrainingJobsResponse> SageMakerResponse.Builder,SdkBuilder<ListTrainingJobsResponse.Builder,,ListTrainingJobsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListTrainingJobsResponse
@Mutable
@NotThreadSafe
public static interface ListTrainingJobsResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListTrainingJobsResponse.Builder,ListTrainingJobsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the response is truncated, SageMaker returns this token.trainingJobSummaries(Collection<TrainingJobSummary> trainingJobSummaries) An array ofTrainingJobSummaryobjects, each listing a training job.trainingJobSummaries(Consumer<TrainingJobSummary.Builder>... trainingJobSummaries) An array ofTrainingJobSummaryobjects, each listing a training job.trainingJobSummaries(TrainingJobSummary... trainingJobSummaries) An array ofTrainingJobSummaryobjects, each listing a training job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
trainingJobSummaries
ListTrainingJobsResponse.Builder trainingJobSummaries(Collection<TrainingJobSummary> trainingJobSummaries) An array of
TrainingJobSummaryobjects, each listing a training job.- Parameters:
trainingJobSummaries- An array ofTrainingJobSummaryobjects, each listing a training job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingJobSummaries
An array of
TrainingJobSummaryobjects, each listing a training job.- Parameters:
trainingJobSummaries- An array ofTrainingJobSummaryobjects, each listing a training job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingJobSummaries
ListTrainingJobsResponse.Builder trainingJobSummaries(Consumer<TrainingJobSummary.Builder>... trainingJobSummaries) An array of
This is a convenience method that creates an instance of theTrainingJobSummaryobjects, each listing a training job.TrainingJobSummary.Builderavoiding the need to create one manually viaTrainingJobSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrainingJobSummaries(List<TrainingJobSummary>).- Parameters:
trainingJobSummaries- a consumer that will call methods onTrainingJobSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the response is truncated, SageMaker returns this token. To retrieve the next set of training jobs, use it in the subsequent request.
- Parameters:
nextToken- If the response is truncated, SageMaker returns this token. To retrieve the next set of training jobs, use it in the subsequent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-