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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListScheduleGroupsResponse.BuildernextToken(String nextToken)Indicates whether there are additional results to retrieve.ListScheduleGroupsResponse.BuilderscheduleGroups(Collection<ScheduleGroupSummary> scheduleGroups)The schedule groups that match the specified criteria.ListScheduleGroupsResponse.BuilderscheduleGroups(Consumer<ScheduleGroupSummary.Builder>... scheduleGroups)The schedule groups that match the specified criteria.ListScheduleGroupsResponse.BuilderscheduleGroups(ScheduleGroupSummary... scheduleGroups)The schedule groups 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 Detail
-
nextToken
ListScheduleGroupsResponse.Builder nextToken(String 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
ListScheduleGroupsResponse.Builder scheduleGroups(Collection<ScheduleGroupSummary> 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(ScheduleGroupSummary... 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 to#scheduleGroups(List.) - 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:
#scheduleGroups(java.util.Collection)
-
-