Interface ListArtifactsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListArtifactsResponse.Builder,
,ListArtifactsResponse> SageMakerResponse.Builder
,SdkBuilder<ListArtifactsResponse.Builder,
,ListArtifactsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListArtifactsResponse
public static interface ListArtifactsResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListArtifactsResponse.Builder,ListArtifactsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionartifactSummaries
(Collection<ArtifactSummary> artifactSummaries) A list of artifacts and their properties.artifactSummaries
(Consumer<ArtifactSummary.Builder>... artifactSummaries) A list of artifacts and their properties.artifactSummaries
(ArtifactSummary... artifactSummaries) A list of artifacts and their properties.A token for getting the next set of artifacts, if there are any.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
-
artifactSummaries
A list of artifacts and their properties.
- Parameters:
artifactSummaries
- A list of artifacts and their properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifactSummaries
A list of artifacts and their properties.
- Parameters:
artifactSummaries
- A list of artifacts and their properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifactSummaries
ListArtifactsResponse.Builder artifactSummaries(Consumer<ArtifactSummary.Builder>... artifactSummaries) A list of artifacts and their properties.
This is a convenience method that creates an instance of theArtifactSummary.Builder
avoiding the need to create one manually viaArtifactSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toartifactSummaries(List<ArtifactSummary>)
.- Parameters:
artifactSummaries
- a consumer that will call methods onArtifactSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token for getting the next set of artifacts, if there are any.
- Parameters:
nextToken
- A token for getting the next set of artifacts, if there are any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-