Interface ListProjectsRequest.Builder

    • Method Detail

      • creationTimeAfter

        ListProjectsRequest.Builder creationTimeAfter​(Instant creationTimeAfter)

        A filter that returns the projects that were created after a specified time.

        Parameters:
        creationTimeAfter - A filter that returns the projects that were created after a specified time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTimeBefore

        ListProjectsRequest.Builder creationTimeBefore​(Instant creationTimeBefore)

        A filter that returns the projects that were created before a specified time.

        Parameters:
        creationTimeBefore - A filter that returns the projects that were created before a specified time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListProjectsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of projects to return in the response.

        Parameters:
        maxResults - The maximum number of projects to return in the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nameContains

        ListProjectsRequest.Builder nameContains​(String nameContains)

        A filter that returns the projects whose name contains a specified string.

        Parameters:
        nameContains - A filter that returns the projects whose name contains a specified string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListProjectsRequest.Builder nextToken​(String nextToken)

        If the result of the previous ListProjects request was truncated, the response includes a NextToken. To retrieve the next set of projects, use the token in the next request.

        Parameters:
        nextToken - If the result of the previous ListProjects request was truncated, the response includes a NextToken. To retrieve the next set of projects, use the token in the next request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sortBy

        ListProjectsRequest.Builder sortBy​(String sortBy)

        The field by which to sort results. The default is CreationTime.

        Parameters:
        sortBy - The field by which to sort results. The default is CreationTime.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProjectSortBy, ProjectSortBy
      • sortBy

        ListProjectsRequest.Builder sortBy​(ProjectSortBy sortBy)

        The field by which to sort results. The default is CreationTime.

        Parameters:
        sortBy - The field by which to sort results. The default is CreationTime.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProjectSortBy, ProjectSortBy
      • sortOrder

        ListProjectsRequest.Builder sortOrder​(String sortOrder)

        The sort order for results. The default is Ascending.

        Parameters:
        sortOrder - The sort order for results. The default is Ascending.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProjectSortOrder, ProjectSortOrder