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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListHubContentsResponse.Builder
hubContentSummaries(Collection<HubContentInfo> hubContentSummaries)
The summaries of the listed hub content.ListHubContentsResponse.Builder
hubContentSummaries(Consumer<HubContentInfo.Builder>... hubContentSummaries)
The summaries of the listed hub content.ListHubContentsResponse.Builder
hubContentSummaries(HubContentInfo... hubContentSummaries)
The summaries of the listed hub content.ListHubContentsResponse.Builder
nextToken(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
-
hubContentSummaries
ListHubContentsResponse.Builder hubContentSummaries(Collection<HubContentInfo> 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(HubContentInfo... 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 to#hubContentSummaries(List
.) - 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:
#hubContentSummaries(java.util.Collection
)
-
nextToken
ListHubContentsResponse.Builder nextToken(String 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.
-
-