Interface ListHubContentsRequest.Builder

    • Method Detail

      • hubName

        ListHubContentsRequest.Builder hubName​(String hubName)

        The name of the hub to list the contents of.

        Parameters:
        hubName - The name of the hub to list the contents of.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nameContains

        ListHubContentsRequest.Builder nameContains​(String nameContains)

        Only list hub content if the name contains the specified string.

        Parameters:
        nameContains - Only list hub content if the name contains the specified string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxSchemaVersion

        ListHubContentsRequest.Builder maxSchemaVersion​(String maxSchemaVersion)

        The upper bound of the hub content schema verion.

        Parameters:
        maxSchemaVersion - The upper bound of the hub content schema verion.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTimeBefore

        ListHubContentsRequest.Builder creationTimeBefore​(Instant creationTimeBefore)

        Only list hub content that was created before the time specified.

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

        ListHubContentsRequest.Builder creationTimeAfter​(Instant creationTimeAfter)

        Only list hub content that was created after the time specified.

        Parameters:
        creationTimeAfter - Only list hub content that was created after the time specified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sortBy

        ListHubContentsRequest.Builder sortBy​(String sortBy)

        Sort hub content versions by either name or creation time.

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

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

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

        ListHubContentsRequest.Builder maxResults​(Integer maxResults)

        The maximum amount of hub content to list.

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

        ListHubContentsRequest.Builder nextToken​(String nextToken)

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

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