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
copyMethods inherited from interface software.amazon.awssdk.services.medialive.model.MediaLiveResponse.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
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.Builderavoiding the need to create one manually viaScheduleAction.builder().When the
Consumercompletes,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:
-