Class ListBuildsForProjectRequest

    • Method Detail

      • projectName

        public final String projectName()

        The name of the CodeBuild project.

        Returns:
        The name of the CodeBuild project.
      • sortOrder

        public final SortOrderType 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.

        If the service returns an enum value that is not available in the current SDK version, sortOrder will return SortOrderType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from sortOrderAsString().

        Returns:
        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.

        See Also:
        SortOrderType
      • sortOrderAsString

        public final String sortOrderAsString()

        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.

        If the service returns an enum value that is not available in the current SDK version, sortOrder will return SortOrderType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from sortOrderAsString().

        Returns:
        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.

        See Also:
        SortOrderType
      • nextToken

        public final 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.

        Returns:
        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.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object