Interface ListArtifactsResponse.Builder
- All Superinterfaces:
AmplifyResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<ListArtifactsResponse.Builder,
,ListArtifactsResponse> SdkBuilder<ListArtifactsResponse.Builder,
,ListArtifactsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListArtifactsResponse
public static interface ListArtifactsResponse.Builder
extends AmplifyResponse.Builder, SdkPojo, CopyableBuilder<ListArtifactsResponse.Builder,ListArtifactsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionartifacts
(Collection<Artifact> artifacts) A list of artifacts.artifacts
(Consumer<Artifact.Builder>... artifacts) A list of artifacts.A list of artifacts.A pagination token.Methods inherited from interface software.amazon.awssdk.services.amplify.model.AmplifyResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
artifacts
A list of artifacts.
- Parameters:
artifacts
- A list of artifacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifacts
A list of artifacts.
- Parameters:
artifacts
- A list of artifacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifacts
A list of artifacts.
This is a convenience method that creates an instance of theArtifact.Builder
avoiding the need to create one manually viaArtifact.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toartifacts(List<Artifact>)
.- Parameters:
artifacts
- a consumer that will call methods onArtifact.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.
- Parameters:
nextToken
- A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-