Interface ListFleetsRequest.Builder

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

public static interface ListFleetsRequest.Builder extends CodeBuildRequest.Builder, SdkPojo, CopyableBuilder<ListFleetsRequest.Builder,ListFleetsRequest>
  • Method Details

    • nextToken

      ListFleetsRequest.Builder nextToken(String nextToken)

      During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.

      Parameters:
      nextToken - During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      ListFleetsRequest.Builder maxResults(Integer maxResults)

      The maximum number of paginated compute fleets returned per response. Use nextToken to iterate pages in the list of returned compute fleets.

      Parameters:
      maxResults - The maximum number of paginated compute fleets returned per response. Use nextToken to iterate pages in the list of returned compute fleets.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sortOrder

      ListFleetsRequest.Builder sortOrder(String sortOrder)

      The order in which to list compute fleets. Valid values include:

      • ASCENDING: List in ascending order.

      • DESCENDING: List in descending order.

      Use sortBy to specify the criterion to be used to list compute fleet names.

      Parameters:
      sortOrder - The order in which to list compute fleets. Valid values include:

      • ASCENDING: List in ascending order.

      • DESCENDING: List in descending order.

      Use sortBy to specify the criterion to be used to list compute fleet names.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sortOrder

      The order in which to list compute fleets. Valid values include:

      • ASCENDING: List in ascending order.

      • DESCENDING: List in descending order.

      Use sortBy to specify the criterion to be used to list compute fleet names.

      Parameters:
      sortOrder - The order in which to list compute fleets. Valid values include:

      • ASCENDING: List in ascending order.

      • DESCENDING: List in descending order.

      Use sortBy to specify the criterion to be used to list compute fleet names.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sortBy

      The criterion to be used to list compute fleet names. Valid values include:

      • CREATED_TIME: List based on when each compute fleet was created.

      • LAST_MODIFIED_TIME: List based on when information about each compute fleet was last changed.

      • NAME: List based on each compute fleet's name.

      Use sortOrder to specify in what order to list the compute fleet names based on the preceding criteria.

      Parameters:
      sortBy - The criterion to be used to list compute fleet names. Valid values include:

      • CREATED_TIME: List based on when each compute fleet was created.

      • LAST_MODIFIED_TIME: List based on when information about each compute fleet was last changed.

      • NAME: List based on each compute fleet's name.

      Use sortOrder to specify in what order to list the compute fleet names based on the preceding criteria.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sortBy

      The criterion to be used to list compute fleet names. Valid values include:

      • CREATED_TIME: List based on when each compute fleet was created.

      • LAST_MODIFIED_TIME: List based on when information about each compute fleet was last changed.

      • NAME: List based on each compute fleet's name.

      Use sortOrder to specify in what order to list the compute fleet names based on the preceding criteria.

      Parameters:
      sortBy - The criterion to be used to list compute fleet names. Valid values include:

      • CREATED_TIME: List based on when each compute fleet was created.

      • LAST_MODIFIED_TIME: List based on when information about each compute fleet was last changed.

      • NAME: List based on each compute fleet's name.

      Use sortOrder to specify in what order to list the compute fleet names based on the preceding criteria.

      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.