Interface ListTrainingPlansRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListTrainingPlansRequest.Builder,ListTrainingPlansRequest>,SageMakerRequest.Builder,SdkBuilder<ListTrainingPlansRequest.Builder,ListTrainingPlansRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListTrainingPlansRequest
public static interface ListTrainingPlansRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<ListTrainingPlansRequest.Builder,ListTrainingPlansRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTrainingPlansRequest.Builderfilters(Collection<TrainingPlanFilter> filters)Additional filters to apply to the list of training plans.ListTrainingPlansRequest.Builderfilters(Consumer<TrainingPlanFilter.Builder>... filters)Additional filters to apply to the list of training plans.ListTrainingPlansRequest.Builderfilters(TrainingPlanFilter... filters)Additional filters to apply to the list of training plans.ListTrainingPlansRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return in the response.ListTrainingPlansRequest.BuildernextToken(String nextToken)A token to continue pagination if more results are available.ListTrainingPlansRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListTrainingPlansRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListTrainingPlansRequest.BuildersortBy(String sortBy)The training plan field to sort the results by (e.g., StartTime, Status).ListTrainingPlansRequest.BuildersortBy(TrainingPlanSortBy sortBy)The training plan field to sort the results by (e.g., StartTime, Status).ListTrainingPlansRequest.BuildersortOrder(String sortOrder)The order to sort the results (Ascending or Descending).ListTrainingPlansRequest.BuildersortOrder(TrainingPlanSortOrder sortOrder)The order to sort the results (Ascending or Descending).ListTrainingPlansRequest.BuilderstartTimeAfter(Instant startTimeAfter)Filter to list only training plans with an actual start time after this date.ListTrainingPlansRequest.BuilderstartTimeBefore(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 Detail
-
nextToken
ListTrainingPlansRequest.Builder nextToken(String 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
ListTrainingPlansRequest.Builder maxResults(Integer 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
ListTrainingPlansRequest.Builder startTimeAfter(Instant 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
ListTrainingPlansRequest.Builder startTimeBefore(Instant 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
ListTrainingPlansRequest.Builder sortBy(String 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:
TrainingPlanSortBy,TrainingPlanSortBy
-
sortBy
ListTrainingPlansRequest.Builder sortBy(TrainingPlanSortBy 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:
TrainingPlanSortBy,TrainingPlanSortBy
-
sortOrder
ListTrainingPlansRequest.Builder sortOrder(String 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:
TrainingPlanSortOrder,TrainingPlanSortOrder
-
sortOrder
ListTrainingPlansRequest.Builder sortOrder(TrainingPlanSortOrder 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:
TrainingPlanSortOrder,TrainingPlanSortOrder
-
filters
ListTrainingPlansRequest.Builder filters(Collection<TrainingPlanFilter> 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
ListTrainingPlansRequest.Builder filters(TrainingPlanFilter... 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
ListTrainingPlansRequest.Builder filters(Consumer<TrainingPlanFilter.Builder>... filters)
Additional filters to apply to the list of training plans.
This is a convenience method that creates an instance of theTrainingPlanFilter.Builderavoiding the need to create one manually viaTrainingPlanFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - 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:
#filters(java.util.Collection)
-
overrideConfiguration
ListTrainingPlansRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListTrainingPlansRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-