Interface ListWorkforcesRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<ListWorkforcesRequest.Builder,,- ListWorkforcesRequest> - SageMakerRequest.Builder,- SdkBuilder<ListWorkforcesRequest.Builder,,- ListWorkforcesRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- ListWorkforcesRequest
@Mutable
@NotThreadSafe
public static interface ListWorkforcesRequest.Builder
extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<ListWorkforcesRequest.Builder,ListWorkforcesRequest> 
- 
Method SummaryModifier 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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
sortBySort 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:
 
- 
sortBySort 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:
 
- 
sortOrderSort 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:
 
- 
sortOrderSort 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:
 
- 
nameContainsA 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.
 
- 
nextTokenA 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.
 
- 
maxResultsThe 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.
 
- 
overrideConfigurationListWorkforcesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationListWorkforcesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-