Interface ListFleetsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListFleetsRequest.Builder,
,ListFleetsRequest> RoboMakerRequest.Builder
,SdkBuilder<ListFleetsRequest.Builder,
,ListFleetsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListFleetsRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilters
(Collection<Filter> filters) Optional filters to limit results.filters
(Consumer<Filter.Builder>... filters) Optional filters to limit results.Optional filters to limit results.maxResults
(Integer maxResults) When this parameter is used,ListFleets
only returnsmaxResults
results in a single page along with anextToken
response element.If the previous paginated request did not return all of the remaining results, the response object'snextToken
parameter value is set to a token.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.robomaker.model.RoboMakerRequest.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
-
nextToken
If the previous paginated request did not return all of the remaining results, the response object's
nextToken
parameter value is set to a token. To retrieve the next set of results, callListFleets
again and assign that token to the request object'snextToken
parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
- Parameters:
nextToken
- If the previous paginated request did not return all of the remaining results, the response object'snextToken
parameter value is set to a token. To retrieve the next set of results, callListFleets
again and assign that token to the request object'snextToken
parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
When this parameter is used,
ListFleets
only returnsmaxResults
results in a single page along with anextToken
response element. The remaining results of the initial request can be seen by sending anotherListFleets
request with the returnednextToken
value. This value can be between 1 and 200. If this parameter is not used, thenListFleets
returns up to 200 results and anextToken
value if applicable.- Parameters:
maxResults
- When this parameter is used,ListFleets
only returnsmaxResults
results in a single page along with anextToken
response element. The remaining results of the initial request can be seen by sending anotherListFleets
request with the returnednextToken
value. This value can be between 1 and 200. If this parameter is not used, thenListFleets
returns up to 200 results and anextToken
value if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Optional filters to limit results.
The filter name
name
is supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters.- Parameters:
filters
- Optional filters to limit results.The filter name
name
is supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Optional filters to limit results.
The filter name
name
is supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters.- Parameters:
filters
- Optional filters to limit results.The filter name
name
is supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Optional filters to limit results.
The filter name
This is a convenience method that creates an instance of thename
is supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters.Filter.Builder
avoiding the need to create one manually viaFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<Filter>)
.- Parameters:
filters
- a consumer that will call methods onFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListFleetsRequest.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
ListFleetsRequest.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.
-