Interface ListTrainingPlansResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTrainingPlansResponse.Builder,,ListTrainingPlansResponse> SageMakerResponse.Builder,SdkBuilder<ListTrainingPlansResponse.Builder,,ListTrainingPlansResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListTrainingPlansResponse
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
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
-
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.Builderavoiding the need to create one manually viaTrainingPlanSummary.builder().When the
Consumercompletes,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:
-