Interface ListBatchJobDefinitionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListBatchJobDefinitionsResponse.Builder,
,ListBatchJobDefinitionsResponse> M2Response.Builder
,SdkBuilder<ListBatchJobDefinitionsResponse.Builder,
,ListBatchJobDefinitionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListBatchJobDefinitionsResponse
@Mutable
@NotThreadSafe
public static interface ListBatchJobDefinitionsResponse.Builder
extends M2Response.Builder, SdkPojo, CopyableBuilder<ListBatchJobDefinitionsResponse.Builder,ListBatchJobDefinitionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbatchJobDefinitions
(Collection<BatchJobDefinition> batchJobDefinitions) The list of batch job definitions.batchJobDefinitions
(Consumer<BatchJobDefinition.Builder>... batchJobDefinitions) The list of batch job definitions.batchJobDefinitions
(BatchJobDefinition... batchJobDefinitions) The list of batch job definitions.If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.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
-
batchJobDefinitions
ListBatchJobDefinitionsResponse.Builder batchJobDefinitions(Collection<BatchJobDefinition> batchJobDefinitions) The list of batch job definitions.
- Parameters:
batchJobDefinitions
- The list of batch job definitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchJobDefinitions
ListBatchJobDefinitionsResponse.Builder batchJobDefinitions(BatchJobDefinition... batchJobDefinitions) The list of batch job definitions.
- Parameters:
batchJobDefinitions
- The list of batch job definitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchJobDefinitions
ListBatchJobDefinitionsResponse.Builder batchJobDefinitions(Consumer<BatchJobDefinition.Builder>... batchJobDefinitions) The list of batch job definitions.
This is a convenience method that creates an instance of theBatchJobDefinition.Builder
avoiding the need to create one manually viaBatchJobDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobatchJobDefinitions(List<BatchJobDefinition>)
.- Parameters:
batchJobDefinitions
- a consumer that will call methods onBatchJobDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.
- Parameters:
nextToken
- If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-