Interface ListTrainingSessionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListTrainingSessionsRequest.Builder,,ListTrainingSessionsRequest> SageMakerRequest.Builder,SdkBuilder<ListTrainingSessionsRequest.Builder,,ListTrainingSessionsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListTrainingSessionsRequest
@Mutable
@NotThreadSafe
public static interface ListTrainingSessionsRequest.Builder
extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<ListTrainingSessionsRequest.Builder,ListTrainingSessionsRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncreationTimeAfter(Instant creationTimeAfter) A filter that returns only training sessions created after the specified time.creationTimeBefore(Instant creationTimeBefore) A filter that returns only training sessions created before the specified time.maxResults(Integer maxResults) The maximum number of training sessions to return in the response.nameContains(String nameContains) A string in the training session name to filter results.If the response was truncated, use the token returned in the previous response to retrieve the next page of results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.statusEquals(String statusEquals) A filter that returns only training sessions with the specified status.statusEquals(TrainingSessionStatus statusEquals) A filter that returns only training sessions with the specified status.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
nextToken
If the response was truncated, use the token returned in the previous response to retrieve the next page of results.
- Parameters:
nextToken- If the response was truncated, use the token returned in the previous response to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of training sessions to return in the response.
- Parameters:
maxResults- The maximum number of training sessions to return in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimeAfter
A filter that returns only training sessions created after the specified time.
- Parameters:
creationTimeAfter- A filter that returns only training sessions created after the specified time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimeBefore
A filter that returns only training sessions created before the specified time.
- Parameters:
creationTimeBefore- A filter that returns only training sessions created before the specified time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nameContains
A string in the training session name to filter results. Only sessions whose name contains the specified string are returned.
- Parameters:
nameContains- A string in the training session name to filter results. Only sessions whose name contains the specified string are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusEquals
A filter that returns only training sessions with the specified status.
- Parameters:
statusEquals- A filter that returns only training sessions with the specified status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusEquals
A filter that returns only training sessions with the specified status.
- Parameters:
statusEquals- A filter that returns only training sessions with the specified status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListTrainingSessionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListTrainingSessionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-