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 Summary
Modifier and TypeMethodDescriptionhubSummaries
(Collection<HubInfo> hubSummaries) The summaries of the listed hubs.hubSummaries
(Consumer<HubInfo.Builder>... hubSummaries) The summaries of the listed hubs.hubSummaries
(HubInfo... hubSummaries) The summaries of the listed hubs.If the response is truncated, SageMaker returns this token.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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 viaHubInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohubSummaries(List<HubInfo>)
.- Parameters:
hubSummaries
- a consumer that will call methods onHubInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-