Interface ListHubsResponse.Builder

    • Method Detail

      • hubSummaries

        ListHubsResponse.Builder hubSummaries​(Collection<HubInfo> hubSummaries)

        The summaries of the listed hubs.

        Parameters:
        hubSummaries - The summaries of the listed hubs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • hubSummaries

        ListHubsResponse.Builder hubSummaries​(HubInfo... hubSummaries)

        The summaries of the listed hubs.

        Parameters:
        hubSummaries - The summaries of the listed hubs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • hubSummaries

        ListHubsResponse.Builder hubSummaries​(Consumer<HubInfo.Builder>... hubSummaries)

        The summaries of the listed hubs.

        This is a convenience method that creates an instance of the HubInfo.Builder avoiding the need to create one manually via HubInfo.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #hubSummaries(List).

        Parameters:
        hubSummaries - a consumer that will call methods on HubInfo.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #hubSummaries(java.util.Collection)
      • nextToken

        ListHubsResponse.Builder nextToken​(String nextToken)

        If the response is truncated, SageMaker returns this token. To retrieve the next set of hubs, use it in the subsequent request.

        Parameters:
        nextToken - If the response is truncated, SageMaker returns this token. To retrieve the next set of hubs, use it in the subsequent request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.