Interface ListJobRunAttemptsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListJobRunAttemptsResponse.Builder,ListJobRunAttemptsResponse>,EmrServerlessResponse.Builder,SdkBuilder<ListJobRunAttemptsResponse.Builder,ListJobRunAttemptsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListJobRunAttemptsResponse
public static interface ListJobRunAttemptsResponse.Builder extends EmrServerlessResponse.Builder, SdkPojo, CopyableBuilder<ListJobRunAttemptsResponse.Builder,ListJobRunAttemptsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListJobRunAttemptsResponse.BuilderjobRunAttempts(Collection<JobRunAttemptSummary> jobRunAttempts)The array of the listed job run attempt objects.ListJobRunAttemptsResponse.BuilderjobRunAttempts(Consumer<JobRunAttemptSummary.Builder>... jobRunAttempts)The array of the listed job run attempt objects.ListJobRunAttemptsResponse.BuilderjobRunAttempts(JobRunAttemptSummary... jobRunAttempts)The array of the listed job run attempt objects.ListJobRunAttemptsResponse.BuildernextToken(String nextToken)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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
jobRunAttempts
ListJobRunAttemptsResponse.Builder jobRunAttempts(Collection<JobRunAttemptSummary> 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(JobRunAttemptSummary... 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.Builderavoiding the need to create one manually viaJobRunAttemptSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#jobRunAttempts(List.) - 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:
#jobRunAttempts(java.util.Collection)
-
nextToken
ListJobRunAttemptsResponse.Builder nextToken(String 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.
-
-