Interface GetChannelScheduleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetChannelScheduleResponse.Builder,,GetChannelScheduleResponse> MediaTailorResponse.Builder,SdkBuilder<GetChannelScheduleResponse.Builder,,GetChannelScheduleResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetChannelScheduleResponse
public static interface GetChannelScheduleResponse.Builder
extends MediaTailorResponse.Builder, SdkPojo, CopyableBuilder<GetChannelScheduleResponse.Builder,GetChannelScheduleResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<ScheduleEntry> items) A list of schedule entries for the channel.items(Consumer<ScheduleEntry.Builder>... items) A list of schedule entries for the channel.items(ScheduleEntry... items) A list of schedule entries for the channel.Pagination token returned by the list request when results exceed the maximum allowed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mediatailor.model.MediaTailorResponse.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
-
items
A list of schedule entries for the channel.
- Parameters:
items- A list of schedule entries for the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A list of schedule entries for the channel.
- Parameters:
items- A list of schedule entries for the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A list of schedule entries for the channel.
This is a convenience method that creates an instance of theScheduleEntry.Builderavoiding the need to create one manually viaScheduleEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<ScheduleEntry>).- Parameters:
items- a consumer that will call methods onScheduleEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
- Parameters:
nextToken- Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-