Interface ListBuildBatchesRequest.Builder

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

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

    • filter

      A BuildBatchFilter object that specifies the filters for the search.

      Parameters:
      filter - A BuildBatchFilter object that specifies the filters for the search.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filter

      A BuildBatchFilter object that specifies the filters for the search.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filter(BuildBatchFilter).

      Parameters:
      filter - a consumer that will call methods on BuildBatchFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • maxResults

      ListBuildBatchesRequest.Builder maxResults(Integer maxResults)

      The maximum number of results to return.

      Parameters:
      maxResults - The maximum number of results to return.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sortOrder

      Specifies the sort order of the returned items. Valid values include:

      • ASCENDING: List the batch build identifiers in ascending order by identifier.

      • DESCENDING: List the batch build identifiers in descending order by identifier.

      Parameters:
      sortOrder - Specifies the sort order of the returned items. Valid values include:

      • ASCENDING: List the batch build identifiers in ascending order by identifier.

      • DESCENDING: List the batch build identifiers in descending order by identifier.

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

      Specifies the sort order of the returned items. Valid values include:

      • ASCENDING: List the batch build identifiers in ascending order by identifier.

      • DESCENDING: List the batch build identifiers in descending order by identifier.

      Parameters:
      sortOrder - Specifies the sort order of the returned items. Valid values include:

      • ASCENDING: List the batch build identifiers in ascending order by identifier.

      • DESCENDING: List the batch build identifiers in descending order by identifier.

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

      The nextToken value returned from a previous call to ListBuildBatches. This specifies the next item to return. To return the beginning of the list, exclude this parameter.

      Parameters:
      nextToken - The nextToken value returned from a previous call to ListBuildBatches. This specifies the next item to return. To return the beginning of the list, exclude this parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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