Class ScheduleAdBreak
- java.lang.Object
-
- software.amazon.awssdk.services.mediatailor.model.ScheduleAdBreak
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ScheduleAdBreak.Builder,ScheduleAdBreak>
@Generated("software.amazon.awssdk:codegen") public final class ScheduleAdBreak extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ScheduleAdBreak.Builder,ScheduleAdBreak>
The schedule's ad break properties.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceScheduleAdBreak.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LongapproximateDurationSeconds()The approximate duration of the ad break, in seconds.InstantapproximateStartTime()The approximate time that the ad will start playing.static ScheduleAdBreak.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ScheduleAdBreak.Builder>serializableBuilderClass()StringsourceLocationName()The name of the source location containing the VOD source used for the ad break.ScheduleAdBreak.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvodSourceName()The name of the VOD source used for the ad break.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
approximateDurationSeconds
public final Long approximateDurationSeconds()
The approximate duration of the ad break, in seconds.
- Returns:
- The approximate duration of the ad break, in seconds.
-
approximateStartTime
public final Instant approximateStartTime()
The approximate time that the ad will start playing.
- Returns:
- The approximate time that the ad will start playing.
-
sourceLocationName
public final String sourceLocationName()
The name of the source location containing the VOD source used for the ad break.
- Returns:
- The name of the source location containing the VOD source used for the ad break.
-
vodSourceName
public final String vodSourceName()
The name of the VOD source used for the ad break.
- Returns:
- The name of the VOD source used for the ad break.
-
toBuilder
public ScheduleAdBreak.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ScheduleAdBreak.Builder,ScheduleAdBreak>
-
builder
public static ScheduleAdBreak.Builder builder()
-
serializableBuilderClass
public static Class<? extends ScheduleAdBreak.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-