Interface ListTrainingPlansRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListTrainingPlansRequest.Builder,
,ListTrainingPlansRequest> SageMakerRequest.Builder
,SdkBuilder<ListTrainingPlansRequest.Builder,
,ListTrainingPlansRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListTrainingPlansRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilters
(Collection<TrainingPlanFilter> filters) Additional filters to apply to the list of training plans.filters
(Consumer<TrainingPlanFilter.Builder>... filters) Additional filters to apply to the list of training plans.filters
(TrainingPlanFilter... filters) Additional filters to apply to the list of training plans.maxResults
(Integer maxResults) The maximum number of results to return in the response.A token to continue pagination if more results are available.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The training plan field to sort the results by (e.g., StartTime, Status).sortBy
(TrainingPlanSortBy sortBy) The training plan field to sort the results by (e.g., StartTime, Status).The order to sort the results (Ascending or Descending).sortOrder
(TrainingPlanSortOrder sortOrder) The order to sort the results (Ascending or Descending).startTimeAfter
(Instant startTimeAfter) Filter to list only training plans with an actual start time after this date.startTimeBefore
(Instant startTimeBefore) Filter to list only training plans with an actual start time before this date.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
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 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.
-
maxResults
The maximum number of results to return in the response.
- Parameters:
maxResults
- The maximum number of results to return in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTimeAfter
Filter to list only training plans with an actual start time after this date.
- Parameters:
startTimeAfter
- Filter to list only training plans with an actual start time after this date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTimeBefore
Filter to list only training plans with an actual start time before this date.
- Parameters:
startTimeBefore
- Filter to list only training plans with an actual start time before this date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
The training plan field to sort the results by (e.g., StartTime, Status).
- Parameters:
sortBy
- The training plan field to sort the results by (e.g., StartTime, Status).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortBy
The training plan field to sort the results by (e.g., StartTime, Status).
- Parameters:
sortBy
- The training plan field to sort the results by (e.g., StartTime, Status).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
The order to sort the results (Ascending or Descending).
- Parameters:
sortOrder
- The order to sort the results (Ascending or Descending).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
The order to sort the results (Ascending or Descending).
- Parameters:
sortOrder
- The order to sort the results (Ascending or Descending).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filters
Additional filters to apply to the list of training plans.
- Parameters:
filters
- Additional filters to apply to the list of training plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Additional filters to apply to the list of training plans.
- Parameters:
filters
- Additional filters to apply to the list of training plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Additional filters to apply to the list of training plans.
This is a convenience method that creates an instance of theTrainingPlanFilter.Builder
avoiding the need to create one manually viaTrainingPlanFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<TrainingPlanFilter>)
.- Parameters:
filters
- a consumer that will call methods onTrainingPlanFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListTrainingPlansRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListTrainingPlansRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-