Interface ListWorldsRequest.Builder

    • Method Detail

      • 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

        ListWorldsRequest.Builder filters​(Collection<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

        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

        ListWorldsRequest.Builder filters​(Consumer<Filter.Builder>... 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).

        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:
        #filters(java.util.Collection)