Interface ListBatchJobExecutionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListBatchJobExecutionsResponse.Builder,
,ListBatchJobExecutionsResponse> M2Response.Builder
,SdkBuilder<ListBatchJobExecutionsResponse.Builder,
,ListBatchJobExecutionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListBatchJobExecutionsResponse
@Mutable
@NotThreadSafe
public static interface ListBatchJobExecutionsResponse.Builder
extends M2Response.Builder, SdkPojo, CopyableBuilder<ListBatchJobExecutionsResponse.Builder,ListBatchJobExecutionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbatchJobExecutions
(Collection<BatchJobExecutionSummary> batchJobExecutions) Returns a list of batch job executions for an application.batchJobExecutions
(Consumer<BatchJobExecutionSummary.Builder>... batchJobExecutions) Returns a list of batch job executions for an application.batchJobExecutions
(BatchJobExecutionSummary... batchJobExecutions) Returns a list of batch job executions for an application.A pagination token that's returned when the response doesn't contain all batch job executions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.m2.model.M2Response.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
-
batchJobExecutions
ListBatchJobExecutionsResponse.Builder batchJobExecutions(Collection<BatchJobExecutionSummary> batchJobExecutions) Returns a list of batch job executions for an application.
- Parameters:
batchJobExecutions
- Returns a list of batch job executions for an application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchJobExecutions
ListBatchJobExecutionsResponse.Builder batchJobExecutions(BatchJobExecutionSummary... batchJobExecutions) Returns a list of batch job executions for an application.
- Parameters:
batchJobExecutions
- Returns a list of batch job executions for an application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchJobExecutions
ListBatchJobExecutionsResponse.Builder batchJobExecutions(Consumer<BatchJobExecutionSummary.Builder>... batchJobExecutions) Returns a list of batch job executions for an application.
This is a convenience method that creates an instance of theBatchJobExecutionSummary.Builder
avoiding the need to create one manually viaBatchJobExecutionSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobatchJobExecutions(List<BatchJobExecutionSummary>)
.- Parameters:
batchJobExecutions
- a consumer that will call methods onBatchJobExecutionSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token that's returned when the response doesn't contain all batch job executions.
- Parameters:
nextToken
- A pagination token that's returned when the response doesn't contain all batch job executions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-