Interface ListWorldsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ListWorldsRequest.Builder,ListWorldsRequest>, RoboMakerRequest.Builder, SdkBuilder<ListWorldsRequest.Builder,ListWorldsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ListWorldsRequest

public static interface ListWorldsRequest.Builder extends RoboMakerRequest.Builder, SdkPojo, CopyableBuilder<ListWorldsRequest.Builder,ListWorldsRequest>
  • Method Details

    • nextToken

      ListWorldsRequest.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 ListWorlds 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.

      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 ListWorlds 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      ListWorldsRequest.Builder maxResults(Integer maxResults)

      When this parameter is used, ListWorlds 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 ListWorlds request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListWorlds returns up to 100 results and a nextToken value if applicable.

      Parameters:
      maxResults - When this parameter is used, ListWorlds 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 ListWorlds request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListWorlds returns up to 100 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. You can use status.

      Parameters:
      filters - Optional filters to limit results. You can use status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      ListWorldsRequest.Builder filters(Filter... filters)

      Optional filters to limit results. You can use status.

      Parameters:
      filters - Optional filters to limit results. You can use status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      Optional filters to limit results. You can use status.

      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

      ListWorldsRequest.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.