Interface ListTrainingPlansResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListTrainingPlansResponse.Builder,
,ListTrainingPlansResponse> SageMakerResponse.Builder
,SdkBuilder<ListTrainingPlansResponse.Builder,
,ListTrainingPlansResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListTrainingPlansResponse
@Mutable
@NotThreadSafe
public static interface ListTrainingPlansResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListTrainingPlansResponse.Builder,ListTrainingPlansResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token to continue pagination if more results are available.trainingPlanSummaries
(Collection<TrainingPlanSummary> trainingPlanSummaries) A list of summary information for the training plans.trainingPlanSummaries
(Consumer<TrainingPlanSummary.Builder>... trainingPlanSummaries) A list of summary information for the training plans.trainingPlanSummaries
(TrainingPlanSummary... trainingPlanSummaries) A list of summary information for the training plans.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
A token to continue pagination if more results are available.
- Parameters:
nextToken
- A token to continue pagination if more results are available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingPlanSummaries
ListTrainingPlansResponse.Builder trainingPlanSummaries(Collection<TrainingPlanSummary> trainingPlanSummaries) A list of summary information for the training plans.
- Parameters:
trainingPlanSummaries
- A list of summary information for the training plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingPlanSummaries
ListTrainingPlansResponse.Builder trainingPlanSummaries(TrainingPlanSummary... trainingPlanSummaries) A list of summary information for the training plans.
- Parameters:
trainingPlanSummaries
- A list of summary information for the training plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingPlanSummaries
ListTrainingPlansResponse.Builder trainingPlanSummaries(Consumer<TrainingPlanSummary.Builder>... trainingPlanSummaries) A list of summary information for the training plans.
This is a convenience method that creates an instance of theTrainingPlanSummary.Builder
avoiding the need to create one manually viaTrainingPlanSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totrainingPlanSummaries(List<TrainingPlanSummary>)
.- Parameters:
trainingPlanSummaries
- a consumer that will call methods onTrainingPlanSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-