Interface ListJobRunAttemptsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListJobRunAttemptsResponse.Builder,
,ListJobRunAttemptsResponse> EmrServerlessResponse.Builder
,SdkBuilder<ListJobRunAttemptsResponse.Builder,
,ListJobRunAttemptsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListJobRunAttemptsResponse
@Mutable
@NotThreadSafe
public static interface ListJobRunAttemptsResponse.Builder
extends EmrServerlessResponse.Builder, SdkPojo, CopyableBuilder<ListJobRunAttemptsResponse.Builder,ListJobRunAttemptsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionjobRunAttempts
(Collection<JobRunAttemptSummary> jobRunAttempts) The array of the listed job run attempt objects.jobRunAttempts
(Consumer<JobRunAttemptSummary.Builder>... jobRunAttempts) The array of the listed job run attempt objects.jobRunAttempts
(JobRunAttemptSummary... jobRunAttempts) The array of the listed job run attempt objects.The output displays the token for the next set of application results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.emrserverless.model.EmrServerlessResponse.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
-
jobRunAttempts
The array of the listed job run attempt objects.
- Parameters:
jobRunAttempts
- The array of the listed job run attempt objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobRunAttempts
The array of the listed job run attempt objects.
- Parameters:
jobRunAttempts
- The array of the listed job run attempt objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobRunAttempts
ListJobRunAttemptsResponse.Builder jobRunAttempts(Consumer<JobRunAttemptSummary.Builder>... jobRunAttempts) The array of the listed job run attempt objects.
This is a convenience method that creates an instance of theJobRunAttemptSummary.Builder
avoiding the need to create one manually viaJobRunAttemptSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojobRunAttempts(List<JobRunAttemptSummary>)
.- Parameters:
jobRunAttempts
- a consumer that will call methods onJobRunAttemptSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The output displays the token for the next set of application results. This is required for pagination and is available as a response of the previous request.
- Parameters:
nextToken
- The output displays the token for the next set of application results. This is required for pagination and is available as a response of the previous request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-