Interface ListSchedulingPoliciesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,BatchResponse.Builder
,Buildable
,CopyableBuilder<ListSchedulingPoliciesResponse.Builder,ListSchedulingPoliciesResponse>
,SdkBuilder<ListSchedulingPoliciesResponse.Builder,ListSchedulingPoliciesResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ListSchedulingPoliciesResponse
public static interface ListSchedulingPoliciesResponse.Builder extends BatchResponse.Builder, SdkPojo, CopyableBuilder<ListSchedulingPoliciesResponse.Builder,ListSchedulingPoliciesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListSchedulingPoliciesResponse.Builder
nextToken(String nextToken)
ThenextToken
value to include in a futureListSchedulingPolicies
request.ListSchedulingPoliciesResponse.Builder
schedulingPolicies(Collection<SchedulingPolicyListingDetail> schedulingPolicies)
A list of scheduling policies that match the request.ListSchedulingPoliciesResponse.Builder
schedulingPolicies(Consumer<SchedulingPolicyListingDetail.Builder>... schedulingPolicies)
A list of scheduling policies that match the request.ListSchedulingPoliciesResponse.Builder
schedulingPolicies(SchedulingPolicyListingDetail... schedulingPolicies)
A list of scheduling policies that match the 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
-
schedulingPolicies
ListSchedulingPoliciesResponse.Builder schedulingPolicies(Collection<SchedulingPolicyListingDetail> schedulingPolicies)
A list of scheduling policies that match the request.
- Parameters:
schedulingPolicies
- A list of scheduling policies that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedulingPolicies
ListSchedulingPoliciesResponse.Builder schedulingPolicies(SchedulingPolicyListingDetail... schedulingPolicies)
A list of scheduling policies that match the request.
- Parameters:
schedulingPolicies
- A list of scheduling policies that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedulingPolicies
ListSchedulingPoliciesResponse.Builder schedulingPolicies(Consumer<SchedulingPolicyListingDetail.Builder>... schedulingPolicies)
A list of scheduling policies that match the request.
This is a convenience method that creates an instance of theSchedulingPolicyListingDetail.Builder
avoiding the need to create one manually viaSchedulingPolicyListingDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#schedulingPolicies(List
.) - Parameters:
schedulingPolicies
- a consumer that will call methods onSchedulingPolicyListingDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#schedulingPolicies(java.util.Collection
)
-
nextToken
ListSchedulingPoliciesResponse.Builder nextToken(String nextToken)
The
nextToken
value to include in a futureListSchedulingPolicies
request. When the results of aListSchedulingPolicies
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 futureListSchedulingPolicies
request. When the results of aListSchedulingPolicies
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.
-
-