@Generated(value="software.amazon.awssdk:codegen") public final class ScheduleEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ScheduleEntry.Builder,ScheduleEntry>
The properties for a schedule.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ScheduleEntry.Builder |
| Modifier and Type | Method and Description |
|---|---|
Long |
approximateDurationSeconds()
The approximate duration of this program, in seconds.
|
Instant |
approximateStartTime()
The approximate time that the program will start playing.
|
String |
arn()
The ARN of the program.
|
static ScheduleEntry.Builder |
builder() |
String |
channelName()
The name of the channel that uses this schedule.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasScheduleAdBreaks()
For responses, this returns true if the service returned a value for the ScheduleAdBreaks property.
|
String |
liveSourceName()
The name of the live source used for the program.
|
String |
programName()
The name of the program.
|
List<ScheduleAdBreak> |
scheduleAdBreaks()
The schedule's ad break properties.
|
ScheduleEntryType |
scheduleEntryType()
The type of schedule entry.
|
String |
scheduleEntryTypeAsString()
The type of schedule entry.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ScheduleEntry.Builder> |
serializableBuilderClass() |
String |
sourceLocationName()
The name of the source location.
|
ScheduleEntry.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vodSourceName()
The name of the VOD source.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Long approximateDurationSeconds()
The approximate duration of this program, in seconds.
public final Instant approximateStartTime()
The approximate time that the program will start playing.
public final String arn()
The ARN of the program.
public final String channelName()
The name of the channel that uses this schedule.
public final String liveSourceName()
The name of the live source used for the program.
public final String programName()
The name of the program.
public final boolean hasScheduleAdBreaks()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<ScheduleAdBreak> scheduleAdBreaks()
The schedule's ad break properties.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasScheduleAdBreaks() method.
public final ScheduleEntryType scheduleEntryType()
The type of schedule entry.
If the service returns an enum value that is not available in the current SDK version, scheduleEntryType
will return ScheduleEntryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from scheduleEntryTypeAsString().
ScheduleEntryTypepublic final String scheduleEntryTypeAsString()
The type of schedule entry.
If the service returns an enum value that is not available in the current SDK version, scheduleEntryType
will return ScheduleEntryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from scheduleEntryTypeAsString().
ScheduleEntryTypepublic final String sourceLocationName()
The name of the source location.
public final String vodSourceName()
The name of the VOD source.
public ScheduleEntry.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ScheduleEntry.Builder,ScheduleEntry>public static ScheduleEntry.Builder builder()
public static Class<? extends ScheduleEntry.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.