Interface ListRobotsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListRobotsRequest.Builder,ListRobotsRequest>,RoboMakerRequest.Builder,SdkBuilder<ListRobotsRequest.Builder,ListRobotsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListRobotsRequest
public static interface ListRobotsRequest.Builder extends RoboMakerRequest.Builder, SdkPojo, CopyableBuilder<ListRobotsRequest.Builder,ListRobotsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListRobotsRequest.Builderfilters(Collection<Filter> filters)Optional filters to limit results.ListRobotsRequest.Builderfilters(Consumer<Filter.Builder>... filters)Optional filters to limit results.ListRobotsRequest.Builderfilters(Filter... filters)Optional filters to limit results.ListRobotsRequest.BuildermaxResults(Integer maxResults)When this parameter is used,ListRobotsonly returnsmaxResultsresults in a single page along with anextTokenresponse element.ListRobotsRequest.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.ListRobotsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListRobotsRequest.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
ListRobotsRequest.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, callListRobotsagain 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.- 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, callListRobotsagain 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListRobotsRequest.Builder maxResults(Integer maxResults)
When this parameter is used,
ListRobotsonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListRobotsrequest with the returnednextTokenvalue. This value can be between 1 and 200. If this parameter is not used, thenListRobotsreturns up to 200 results and anextTokenvalue if applicable.- Parameters:
maxResults- When this parameter is used,ListRobotsonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListRobotsrequest with the returnednextTokenvalue. This value can be between 1 and 200. If this parameter is not used, thenListRobotsreturns up to 200 results and anextTokenvalue if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListRobotsRequest.Builder filters(Collection<Filter> filters)
Optional filters to limit results.
The filter names
statusandfleetNameare supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters, but they must be for the same named item. For example, if you are looking for items with the statusRegisteredor the statusAvailable.- Parameters:
filters- Optional filters to limit results.The filter names
statusandfleetNameare supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters, but they must be for the same named item. For example, if you are looking for items with the statusRegisteredor the statusAvailable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListRobotsRequest.Builder filters(Filter... filters)
Optional filters to limit results.
The filter names
statusandfleetNameare supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters, but they must be for the same named item. For example, if you are looking for items with the statusRegisteredor the statusAvailable.- Parameters:
filters- Optional filters to limit results.The filter names
statusandfleetNameare supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters, but they must be for the same named item. For example, if you are looking for items with the statusRegisteredor the statusAvailable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListRobotsRequest.Builder filters(Consumer<Filter.Builder>... filters)
Optional filters to limit results.
The filter names
This is a convenience method that creates an instance of thestatusandfleetNameare supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters, but they must be for the same named item. For example, if you are looking for items with the statusRegisteredor the statusAvailable.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
ListRobotsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListRobotsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-