Interface DescribeJobDefinitionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BatchResponse.Builder,Buildable,CopyableBuilder<DescribeJobDefinitionsResponse.Builder,,DescribeJobDefinitionsResponse> SdkBuilder<DescribeJobDefinitionsResponse.Builder,,DescribeJobDefinitionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeJobDefinitionsResponse
@Mutable
@NotThreadSafe
public static interface DescribeJobDefinitionsResponse.Builder
extends BatchResponse.Builder, SdkPojo, CopyableBuilder<DescribeJobDefinitionsResponse.Builder,DescribeJobDefinitionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionjobDefinitions(Collection<JobDefinition> jobDefinitions) The list of job definitions.jobDefinitions(Consumer<JobDefinition.Builder>... jobDefinitions) The list of job definitions.jobDefinitions(JobDefinition... jobDefinitions) The list of job definitions.ThenextTokenvalue to include in a futureDescribeJobDefinitionsrequest.Methods inherited from interface software.amazon.awssdk.services.batch.model.BatchResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
jobDefinitions
The list of job definitions.
- Parameters:
jobDefinitions- The list of job definitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobDefinitions
The list of job definitions.
- Parameters:
jobDefinitions- The list of job definitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobDefinitions
DescribeJobDefinitionsResponse.Builder jobDefinitions(Consumer<JobDefinition.Builder>... jobDefinitions) The list of job definitions.
This is a convenience method that creates an instance of theJobDefinition.Builderavoiding the need to create one manually viaJobDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojobDefinitions(List<JobDefinition>).- Parameters:
jobDefinitions- a consumer that will call methods onJobDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The
nextTokenvalue to include in a futureDescribeJobDefinitionsrequest. When the results of aDescribeJobDefinitionsrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- ThenextTokenvalue to include in a futureDescribeJobDefinitionsrequest. When the results of aDescribeJobDefinitionsrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-