Interface ListFleetsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListFleetsRequest.Builder,ListFleetsRequest>,RoboMakerRequest.Builder,SdkBuilder<ListFleetsRequest.Builder,ListFleetsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListFleetsRequest
public static interface ListFleetsRequest.Builder extends RoboMakerRequest.Builder, SdkPojo, CopyableBuilder<ListFleetsRequest.Builder,ListFleetsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListFleetsRequest.Builderfilters(Collection<Filter> filters)Optional filters to limit results.ListFleetsRequest.Builderfilters(Consumer<Filter.Builder>... filters)Optional filters to limit results.ListFleetsRequest.Builderfilters(Filter... filters)Optional filters to limit results.ListFleetsRequest.BuildermaxResults(Integer maxResults)When this parameter is used,ListFleetsonly returnsmaxResultsresults in a single page along with anextTokenresponse element.ListFleetsRequest.BuildernextToken(String nextToken)If the previous paginated request did not return all of the remaining results, the response object'snextTokenparameter value is set to a token.ListFleetsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListFleetsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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 Detail
-
nextToken
ListFleetsRequest.Builder nextToken(String nextToken)
If the previous paginated request did not return all of the remaining results, the response object's
nextTokenparameter value is set to a token. To retrieve the next set of results, callListFleetsagain and assign that token to the request object'snextTokenparameter. 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'snextTokenparameter value is set to a token. To retrieve the next set of results, callListFleetsagain and assign that token to the request object'snextTokenparameter. 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
ListFleetsRequest.Builder maxResults(Integer maxResults)
When this parameter is used,
ListFleetsonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListFleetsrequest with the returnednextTokenvalue. This value can be between 1 and 200. If this parameter is not used, thenListFleetsreturns up to 200 results and anextTokenvalue if applicable.- Parameters:
maxResults- When this parameter is used,ListFleetsonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListFleetsrequest with the returnednextTokenvalue. This value can be between 1 and 200. If this parameter is not used, thenListFleetsreturns up to 200 results and anextTokenvalue if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListFleetsRequest.Builder filters(Collection<Filter> filters)
Optional filters to limit results.
The filter name
nameis 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
nameis 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
ListFleetsRequest.Builder filters(Filter... filters)
Optional filters to limit results.
The filter name
nameis 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
nameis 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
ListFleetsRequest.Builder filters(Consumer<Filter.Builder>... filters)
Optional filters to limit results.
The filter name
This is a convenience method that creates an instance of thenameis supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters.Filter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - 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:
#filters(java.util.Collection)
-
overrideConfiguration
ListFleetsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListFleetsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-