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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListArtifactsResponse.BuilderartifactSummaries(Collection<ArtifactSummary> artifactSummaries)A list of artifacts and their properties.ListArtifactsResponse.BuilderartifactSummaries(Consumer<ArtifactSummary.Builder>... artifactSummaries)A list of artifacts and their properties.ListArtifactsResponse.BuilderartifactSummaries(ArtifactSummary... artifactSummaries)A list of artifacts and their properties.ListArtifactsResponse.BuildernextToken(String nextToken)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 Detail
-
artifactSummaries
ListArtifactsResponse.Builder artifactSummaries(Collection<ArtifactSummary> 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(ArtifactSummary... 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.Builderavoiding the need to create one manually viaArtifactSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#artifactSummaries(List.) - 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:
#artifactSummaries(java.util.Collection)
-
nextToken
ListArtifactsResponse.Builder nextToken(String 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.
-
-