Interface ListSchedulesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListSchedulesResponse.Builder,
,ListSchedulesResponse> SchedulerResponse.Builder
,SdkBuilder<ListSchedulesResponse.Builder,
,ListSchedulesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListSchedulesResponse
public static interface ListSchedulesResponse.Builder
extends SchedulerResponse.Builder, SdkPojo, CopyableBuilder<ListSchedulesResponse.Builder,ListSchedulesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIndicates whether there are additional results to retrieve.schedules
(Collection<ScheduleSummary> schedules) The schedules that match the specified criteria.schedules
(Consumer<ScheduleSummary.Builder>... schedules) The schedules that match the specified criteria.schedules
(ScheduleSummary... schedules) The schedules that match the specified criteria.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.scheduler.model.SchedulerResponse.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 Details
-
nextToken
Indicates whether there are additional results to retrieve. If the value is null, there are no more results.
- Parameters:
nextToken
- Indicates whether there are additional results to retrieve. If the value is null, there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedules
The schedules that match the specified criteria.
- Parameters:
schedules
- The schedules that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedules
The schedules that match the specified criteria.
- Parameters:
schedules
- The schedules that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedules
The schedules that match the specified criteria.
This is a convenience method that creates an instance of theScheduleSummary.Builder
avoiding the need to create one manually viaScheduleSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschedules(List<ScheduleSummary>)
.- Parameters:
schedules
- a consumer that will call methods onScheduleSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-