Interface ListHubsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListHubsResponse.Builder,ListHubsResponse>, SageMakerResponse.Builder, SdkBuilder<ListHubsResponse.Builder,ListHubsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListHubsResponse

public static interface ListHubsResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListHubsResponse.Builder,ListHubsResponse>
  • Method Details

    • 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<HubInfo>).

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