Interface DescribeScheduleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeScheduleResponse.Builder,
,DescribeScheduleResponse> MediaLiveResponse.Builder
,SdkBuilder<DescribeScheduleResponse.Builder,
,DescribeScheduleResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeScheduleResponse
public static interface DescribeScheduleResponse.Builder
extends MediaLiveResponse.Builder, SdkPojo, CopyableBuilder<DescribeScheduleResponse.Builder,DescribeScheduleResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe next token; for use in pagination.scheduleActions
(Collection<ScheduleAction> scheduleActions) The list of actions in the schedule.scheduleActions
(Consumer<ScheduleAction.Builder>... scheduleActions) The list of actions in the schedule.scheduleActions
(ScheduleAction... scheduleActions) The list of actions in the schedule.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.medialive.model.MediaLiveResponse.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
The next token; for use in pagination.- Parameters:
nextToken
- The next token; for use in pagination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleActions
The list of actions in the schedule.- Parameters:
scheduleActions
- The list of actions in the schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleActions
The list of actions in the schedule.- Parameters:
scheduleActions
- The list of actions in the schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleActions
DescribeScheduleResponse.Builder scheduleActions(Consumer<ScheduleAction.Builder>... scheduleActions) The list of actions in the schedule. This is a convenience method that creates an instance of theScheduleAction.Builder
avoiding the need to create one manually viaScheduleAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscheduleActions(List<ScheduleAction>)
.- Parameters:
scheduleActions
- a consumer that will call methods onScheduleAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-