Interface ListArtifactsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListArtifactsResponse.Builder,ListArtifactsResponse>,DeviceFarmResponse.Builder,SdkBuilder<ListArtifactsResponse.Builder,ListArtifactsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListArtifactsResponse
public static interface ListArtifactsResponse.Builder extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<ListArtifactsResponse.Builder,ListArtifactsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListArtifactsResponse.Builderartifacts(Collection<Artifact> artifacts)Information about the artifacts.ListArtifactsResponse.Builderartifacts(Consumer<Artifact.Builder>... artifacts)Information about the artifacts.ListArtifactsResponse.Builderartifacts(Artifact... artifacts)Information about the artifacts.ListArtifactsResponse.BuildernextToken(String nextToken)If the number of items that are returned is significantly large, this is an identifier that is also returned.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmResponse.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
-
artifacts
ListArtifactsResponse.Builder artifacts(Collection<Artifact> artifacts)
Information about the artifacts.
- Parameters:
artifacts- Information about the artifacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifacts
ListArtifactsResponse.Builder artifacts(Artifact... artifacts)
Information about the artifacts.
- Parameters:
artifacts- Information about the artifacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifacts
ListArtifactsResponse.Builder artifacts(Consumer<Artifact.Builder>... artifacts)
Information about the artifacts.
This is a convenience method that creates an instance of theArtifact.Builderavoiding the need to create one manually viaArtifact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#artifacts(List.) - 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:
#artifacts(java.util.Collection)
-
nextToken
ListArtifactsResponse.Builder nextToken(String nextToken)
If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.
- Parameters:
nextToken- If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-