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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListHubsResponse.BuilderhubSummaries(Collection<HubInfo> hubSummaries)The summaries of the listed hubs.ListHubsResponse.BuilderhubSummaries(Consumer<HubInfo.Builder>... hubSummaries)The summaries of the listed hubs.ListHubsResponse.BuilderhubSummaries(HubInfo... hubSummaries)The summaries of the listed hubs.ListHubsResponse.BuildernextToken(String nextToken)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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
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 theHubInfo.Builderavoiding the need to create one manually viaHubInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#hubSummaries(List.) - 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:
#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.
-
-