Interface ListHubContentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListHubContentsResponse.Builder,
,ListHubContentsResponse> SageMakerResponse.Builder
,SdkBuilder<ListHubContentsResponse.Builder,
,ListHubContentsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListHubContentsResponse
public static interface ListHubContentsResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListHubContentsResponse.Builder,ListHubContentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionhubContentSummaries
(Collection<HubContentInfo> hubContentSummaries) The summaries of the listed hub content.hubContentSummaries
(Consumer<HubContentInfo.Builder>... hubContentSummaries) The summaries of the listed hub content.hubContentSummaries
(HubContentInfo... hubContentSummaries) The summaries of the listed hub content.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
-
hubContentSummaries
The summaries of the listed hub content.
- Parameters:
hubContentSummaries
- The summaries of the listed hub content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hubContentSummaries
The summaries of the listed hub content.
- Parameters:
hubContentSummaries
- The summaries of the listed hub content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hubContentSummaries
ListHubContentsResponse.Builder hubContentSummaries(Consumer<HubContentInfo.Builder>... hubContentSummaries) The summaries of the listed hub content.
This is a convenience method that creates an instance of theHubContentInfo.Builder
avoiding the need to create one manually viaHubContentInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohubContentSummaries(List<HubContentInfo>)
.- Parameters:
hubContentSummaries
- a consumer that will call methods onHubContentInfo.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 hub content, use it in the subsequent request.
- Parameters:
nextToken
- If the response is truncated, SageMaker returns this token. To retrieve the next set of hub content, use it in the subsequent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-