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
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, 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-