Interface ListHubsRequest.Builder

    • Method Detail

      • nameContains

        ListHubsRequest.Builder nameContains​(String nameContains)

        Only list hubs with names that contain the specified string.

        Parameters:
        nameContains - Only list hubs with names that contain the specified string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTimeBefore

        ListHubsRequest.Builder creationTimeBefore​(Instant creationTimeBefore)

        Only list hubs that were created before the time specified.

        Parameters:
        creationTimeBefore - Only list hubs that were created before the time specified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTimeAfter

        ListHubsRequest.Builder creationTimeAfter​(Instant creationTimeAfter)

        Only list hubs that were created after the time specified.

        Parameters:
        creationTimeAfter - Only list hubs that were created after the time specified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedTimeBefore

        ListHubsRequest.Builder lastModifiedTimeBefore​(Instant lastModifiedTimeBefore)

        Only list hubs that were last modified before the time specified.

        Parameters:
        lastModifiedTimeBefore - Only list hubs that were last modified before the time specified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedTimeAfter

        ListHubsRequest.Builder lastModifiedTimeAfter​(Instant lastModifiedTimeAfter)

        Only list hubs that were last modified after the time specified.

        Parameters:
        lastModifiedTimeAfter - Only list hubs that were last modified after the time specified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sortBy

        ListHubsRequest.Builder sortBy​(String sortBy)

        Sort hubs by either name or creation time.

        Parameters:
        sortBy - Sort hubs by either name or creation time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        HubSortBy, HubSortBy
      • sortBy

        ListHubsRequest.Builder sortBy​(HubSortBy sortBy)

        Sort hubs by either name or creation time.

        Parameters:
        sortBy - Sort hubs by either name or creation time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        HubSortBy, HubSortBy
      • sortOrder

        ListHubsRequest.Builder sortOrder​(String sortOrder)

        Sort hubs by ascending or descending order.

        Parameters:
        sortOrder - Sort hubs by ascending or descending order.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SortOrder, SortOrder
      • sortOrder

        ListHubsRequest.Builder sortOrder​(SortOrder sortOrder)

        Sort hubs by ascending or descending order.

        Parameters:
        sortOrder - Sort hubs by ascending or descending order.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SortOrder, SortOrder
      • maxResults

        ListHubsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of hubs to list.

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

        ListHubsRequest.Builder nextToken​(String nextToken)

        If the response to a previous ListHubs request was truncated, the response includes a NextToken. To retrieve the next set of hubs, use the token in the next request.

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