Interface ListTestGridSessionArtifactsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListTestGridSessionArtifactsResponse.Builder,
,ListTestGridSessionArtifactsResponse> DeviceFarmResponse.Builder
,SdkBuilder<ListTestGridSessionArtifactsResponse.Builder,
,ListTestGridSessionArtifactsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListTestGridSessionArtifactsResponse
@Mutable
@NotThreadSafe
public static interface ListTestGridSessionArtifactsResponse.Builder
extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<ListTestGridSessionArtifactsResponse.Builder,ListTestGridSessionArtifactsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionartifacts
(Collection<TestGridSessionArtifact> artifacts) A list of test grid session artifacts for a TestGridSession.artifacts
(Consumer<TestGridSessionArtifact.Builder>... artifacts) A list of test grid session artifacts for a TestGridSession.artifacts
(TestGridSessionArtifact... artifacts) A list of test grid session artifacts for a TestGridSession.Pagination token.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
artifacts
ListTestGridSessionArtifactsResponse.Builder artifacts(Collection<TestGridSessionArtifact> artifacts) A list of test grid session artifacts for a TestGridSession.
- Parameters:
artifacts
- A list of test grid session artifacts for a TestGridSession.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifacts
A list of test grid session artifacts for a TestGridSession.
- Parameters:
artifacts
- A list of test grid session artifacts for a TestGridSession.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifacts
ListTestGridSessionArtifactsResponse.Builder artifacts(Consumer<TestGridSessionArtifact.Builder>... artifacts) A list of test grid session artifacts for a TestGridSession.
This is a convenience method that creates an instance of theTestGridSessionArtifact.Builder
avoiding the need to create one manually viaTestGridSessionArtifact.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toartifacts(List<TestGridSessionArtifact>)
.- Parameters:
artifacts
- a consumer that will call methods onTestGridSessionArtifact.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Pagination token.
- Parameters:
nextToken
- Pagination token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-