Interface ListScheduleGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListScheduleGroupsResponse.Builder,,ListScheduleGroupsResponse> SchedulerResponse.Builder,SdkBuilder<ListScheduleGroupsResponse.Builder,,ListScheduleGroupsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListScheduleGroupsResponse
public static interface ListScheduleGroupsResponse.Builder
extends SchedulerResponse.Builder, SdkPojo, CopyableBuilder<ListScheduleGroupsResponse.Builder,ListScheduleGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIndicates whether there are additional results to retrieve.scheduleGroups(Collection<ScheduleGroupSummary> scheduleGroups) The schedule groups that match the specified criteria.scheduleGroups(Consumer<ScheduleGroupSummary.Builder>... scheduleGroups) The schedule groups that match the specified criteria.scheduleGroups(ScheduleGroupSummary... scheduleGroups) The schedule groups that match the specified criteria.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.scheduler.model.SchedulerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.
-
scheduleGroups
The schedule groups that match the specified criteria.
- Parameters:
scheduleGroups- The schedule groups that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleGroups
The schedule groups that match the specified criteria.
- Parameters:
scheduleGroups- The schedule groups that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleGroups
ListScheduleGroupsResponse.Builder scheduleGroups(Consumer<ScheduleGroupSummary.Builder>... scheduleGroups) The schedule groups that match the specified criteria.
This is a convenience method that creates an instance of theScheduleGroupSummary.Builderavoiding the need to create one manually viaScheduleGroupSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscheduleGroups(List<ScheduleGroupSummary>).- Parameters:
scheduleGroups- a consumer that will call methods onScheduleGroupSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-