Interface ListHubContentVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListHubContentVersionsResponse.Builder,,ListHubContentVersionsResponse> SageMakerResponse.Builder,SdkBuilder<ListHubContentVersionsResponse.Builder,,ListHubContentVersionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListHubContentVersionsResponse
public static interface ListHubContentVersionsResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListHubContentVersionsResponse.Builder,ListHubContentVersionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionhubContentSummaries(Collection<HubContentInfo> hubContentSummaries) The summaries of the listed hub content versions.hubContentSummaries(Consumer<HubContentInfo.Builder>... hubContentSummaries) The summaries of the listed hub content versions.hubContentSummaries(HubContentInfo... hubContentSummaries) The summaries of the listed hub content versions.If the response is truncated, SageMaker returns this token.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
hubContentSummaries
ListHubContentVersionsResponse.Builder hubContentSummaries(Collection<HubContentInfo> hubContentSummaries) The summaries of the listed hub content versions.
- Parameters:
hubContentSummaries- The summaries of the listed hub content versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hubContentSummaries
The summaries of the listed hub content versions.
- Parameters:
hubContentSummaries- The summaries of the listed hub content versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hubContentSummaries
ListHubContentVersionsResponse.Builder hubContentSummaries(Consumer<HubContentInfo.Builder>... hubContentSummaries) The summaries of the listed hub content versions.
This is a convenience method that creates an instance of theHubContentInfo.Builderavoiding the need to create one manually viaHubContentInfo.builder().When the
Consumercompletes,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 versions, 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 versions, use it in the subsequent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-