Interface ListBuildsForProjectRequest.Builder

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

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

    • projectName

      ListBuildsForProjectRequest.Builder projectName(String projectName)

      The name of the CodeBuild project.

      Parameters:
      projectName - The name of the CodeBuild project.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sortOrder

      The order to sort the results in. The results are sorted by build number, not the build identifier. If this is not specified, the results are sorted in descending order.

      Valid values include:

      • ASCENDING: List the build identifiers in ascending order, by build number.

      • DESCENDING: List the build identifiers in descending order, by build number.

      If the project has more than 100 builds, setting the sort order will result in an error.

      Parameters:
      sortOrder - The order to sort the results in. The results are sorted by build number, not the build identifier. If this is not specified, the results are sorted in descending order.

      Valid values include:

      • ASCENDING: List the build identifiers in ascending order, by build number.

      • DESCENDING: List the build identifiers in descending order, by build number.

      If the project has more than 100 builds, setting the sort order will result in an error.

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

      The order to sort the results in. The results are sorted by build number, not the build identifier. If this is not specified, the results are sorted in descending order.

      Valid values include:

      • ASCENDING: List the build identifiers in ascending order, by build number.

      • DESCENDING: List the build identifiers in descending order, by build number.

      If the project has more than 100 builds, setting the sort order will result in an error.

      Parameters:
      sortOrder - The order to sort the results in. The results are sorted by build number, not the build identifier. If this is not specified, the results are sorted in descending order.

      Valid values include:

      • ASCENDING: List the build identifiers in ascending order, by build number.

      • DESCENDING: List the build identifiers in descending order, by build number.

      If the project has more than 100 builds, setting the sort order will result in an error.

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

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