Interface DescribeJobDefinitionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,BatchResponse.Builder
,Buildable
,CopyableBuilder<DescribeJobDefinitionsResponse.Builder,DescribeJobDefinitionsResponse>
,SdkBuilder<DescribeJobDefinitionsResponse.Builder,DescribeJobDefinitionsResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeJobDefinitionsResponse
public static interface DescribeJobDefinitionsResponse.Builder extends BatchResponse.Builder, SdkPojo, CopyableBuilder<DescribeJobDefinitionsResponse.Builder,DescribeJobDefinitionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeJobDefinitionsResponse.Builder
jobDefinitions(Collection<JobDefinition> jobDefinitions)
The list of job definitions.DescribeJobDefinitionsResponse.Builder
jobDefinitions(Consumer<JobDefinition.Builder>... jobDefinitions)
The list of job definitions.DescribeJobDefinitionsResponse.Builder
jobDefinitions(JobDefinition... jobDefinitions)
The list of job definitions.DescribeJobDefinitionsResponse.Builder
nextToken(String nextToken)
ThenextToken
value to include in a futureDescribeJobDefinitions
request.-
Methods inherited from interface software.amazon.awssdk.services.batch.model.BatchResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
jobDefinitions
DescribeJobDefinitionsResponse.Builder jobDefinitions(Collection<JobDefinition> 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(JobDefinition... 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.Builder
avoiding the need to create one manually viaJobDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#jobDefinitions(List
.) - 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:
#jobDefinitions(java.util.Collection
)
-
nextToken
DescribeJobDefinitionsResponse.Builder nextToken(String nextToken)
The
nextToken
value to include in a futureDescribeJobDefinitions
request. When the results of aDescribeJobDefinitions
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- ThenextToken
value to include in a futureDescribeJobDefinitions
request. When the results of aDescribeJobDefinitions
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-