Interface ListBatchJobDefinitionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListBatchJobDefinitionsResponse.Builder,ListBatchJobDefinitionsResponse>,M2Response.Builder,SdkBuilder<ListBatchJobDefinitionsResponse.Builder,ListBatchJobDefinitionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListBatchJobDefinitionsResponse
public static interface ListBatchJobDefinitionsResponse.Builder extends M2Response.Builder, SdkPojo, CopyableBuilder<ListBatchJobDefinitionsResponse.Builder,ListBatchJobDefinitionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListBatchJobDefinitionsResponse.BuilderbatchJobDefinitions(Collection<BatchJobDefinition> batchJobDefinitions)The list of batch job definitions.ListBatchJobDefinitionsResponse.BuilderbatchJobDefinitions(Consumer<BatchJobDefinition.Builder>... batchJobDefinitions)The list of batch job definitions.ListBatchJobDefinitionsResponse.BuilderbatchJobDefinitions(BatchJobDefinition... batchJobDefinitions)The list of batch job definitions.ListBatchJobDefinitionsResponse.BuildernextToken(String 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.-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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.Builderavoiding the need to create one manually viaBatchJobDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#batchJobDefinitions(List.) - 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:
#batchJobDefinitions(java.util.Collection)
-
nextToken
ListBatchJobDefinitionsResponse.Builder nextToken(String 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.
-
-