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 Details

    • nextToken

      ListFleetsRequest.Builder nextToken(String 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, call ListFleets again and assign that token to the request object's nextToken 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's nextToken parameter value is set to a token. To retrieve the next set of results, call ListFleets again and assign that token to the request object's nextToken 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

      ListFleetsRequest.Builder maxResults(Integer maxResults)

      When this parameter is used, ListFleets only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListFleets request with the returned nextToken value. This value can be between 1 and 200. If this parameter is not used, then ListFleets returns up to 200 results and a nextToken value if applicable.

      Parameters:
      maxResults - When this parameter is used, ListFleets only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListFleets request with the returned nextToken value. This value can be between 1 and 200. If this parameter is not used, then ListFleets returns up to 200 results and a nextToken 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

      ListFleetsRequest.Builder filters(Filter... 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.

      This is a convenience method that creates an instance of the Filter.Builder avoiding the need to create one manually via Filter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filters(List<Filter>).

      Parameters:
      filters - a consumer that will call methods on Filter.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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.