public static interface ListHubsResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListHubsResponse.Builder,ListHubsResponse>
Modifier and Type | Method and Description |
---|---|
ListHubsResponse.Builder |
hubSummaries(Collection<HubInfo> hubSummaries)
The summaries of the listed hubs.
|
ListHubsResponse.Builder |
hubSummaries(Consumer<HubInfo.Builder>... hubSummaries)
The summaries of the listed hubs.
|
ListHubsResponse.Builder |
hubSummaries(HubInfo... hubSummaries)
The summaries of the listed hubs.
|
ListHubsResponse.Builder |
nextToken(String nextToken)
If the response is truncated, SageMaker returns this token.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ListHubsResponse.Builder hubSummaries(Collection<HubInfo> hubSummaries)
The summaries of the listed hubs.
hubSummaries
- The summaries of the listed hubs.ListHubsResponse.Builder hubSummaries(HubInfo... hubSummaries)
The summaries of the listed hubs.
hubSummaries
- The summaries of the listed hubs.ListHubsResponse.Builder hubSummaries(Consumer<HubInfo.Builder>... hubSummaries)
The summaries of the listed hubs.
This is a convenience method that creates an instance of theHubInfo.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
.
hubSummaries
- a consumer that will call methods on
HubInfo.Builder
#hubSummaries(java.util.Collection)
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.
nextToken
- If the response is truncated, SageMaker returns this token. To retrieve the next set of hubs, use it
in the subsequent request.Copyright © 2023. All rights reserved.