Interface ListWorkforcesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListWorkforcesRequest.Builder,
,ListWorkforcesRequest> SageMakerRequest.Builder
,SdkBuilder<ListWorkforcesRequest.Builder,
,ListWorkforcesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListWorkforcesRequest
public static interface ListWorkforcesRequest.Builder
extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<ListWorkforcesRequest.Builder,ListWorkforcesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults
(Integer maxResults) The maximum number of workforces returned in the response.nameContains
(String nameContains) A filter you can use to search for workforces using part of the workforce name.A token to resume pagination.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Sort workforces using the workforce name or creation date.sortBy
(ListWorkforcesSortByOptions sortBy) Sort workforces using the workforce name or creation date.Sort workforces in ascending or descending order.Sort workforces in ascending or descending order.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, sdkFields
-
Method Details
-
sortBy
Sort workforces using the workforce name or creation date.
- Parameters:
sortBy
- Sort workforces using the workforce name or creation date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortBy
Sort workforces using the workforce name or creation date.
- Parameters:
sortBy
- Sort workforces using the workforce name or creation date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
Sort workforces in ascending or descending order.
- Parameters:
sortOrder
- Sort workforces in ascending or descending order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
Sort workforces in ascending or descending order.
- Parameters:
sortOrder
- Sort workforces in ascending or descending order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nameContains
A filter you can use to search for workforces using part of the workforce name.
- Parameters:
nameContains
- A filter you can use to search for workforces using part of the workforce name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A token to resume pagination.
- Parameters:
nextToken
- A token to resume pagination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of workforces returned in the response.
- Parameters:
maxResults
- The maximum number of workforces returned in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListWorkforcesRequest.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
ListWorkforcesRequest.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.
-