Class GetChannelScheduleRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.mediatailor.model.MediaTailorRequest
-
- software.amazon.awssdk.services.mediatailor.model.GetChannelScheduleRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetChannelScheduleRequest.Builder,GetChannelScheduleRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetChannelScheduleRequest extends MediaTailorRequest implements ToCopyableBuilder<GetChannelScheduleRequest.Builder,GetChannelScheduleRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetChannelScheduleRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringaudience()The single audience for GetChannelScheduleRequest.static GetChannelScheduleRequest.Builderbuilder()StringchannelName()The name of the channel associated with this Channel Schedule.StringdurationMinutes()The duration in minutes of the channel schedule.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of channel schedules that you want MediaTailor to return in response to the current request.StringnextToken()(Optional) If the playback configuration has more thanMaxResultschannel schedules, useNextTokento get the second and subsequent pages of results.List<SdkField<?>>sdkFields()static Class<? extends GetChannelScheduleRequest.Builder>serializableBuilderClass()GetChannelScheduleRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
audience
public final String audience()
The single audience for GetChannelScheduleRequest.
- Returns:
- The single audience for GetChannelScheduleRequest.
-
channelName
public final String channelName()
The name of the channel associated with this Channel Schedule.
- Returns:
- The name of the channel associated with this Channel Schedule.
-
durationMinutes
public final String durationMinutes()
The duration in minutes of the channel schedule.
- Returns:
- The duration in minutes of the channel schedule.
-
maxResults
public final Integer maxResults()
The maximum number of channel schedules that you want MediaTailor to return in response to the current request. If there are more than
MaxResultschannel schedules, use the value ofNextTokenin the response to get the next page of results.- Returns:
- The maximum number of channel schedules that you want MediaTailor to return in response to the current
request. If there are more than
MaxResultschannel schedules, use the value ofNextTokenin the response to get the next page of results.
-
nextToken
public final String nextToken()
(Optional) If the playback configuration has more than
MaxResultschannel schedules, useNextTokento get the second and subsequent pages of results.For the first
GetChannelScheduleRequestrequest, omit this value.For the second and subsequent requests, get the value of
NextTokenfrom the previous response and specify that value forNextTokenin the request.If the previous response didn't include a
NextTokenelement, there are no more channel schedules to get.- Returns:
- (Optional) If the playback configuration has more than
MaxResultschannel schedules, useNextTokento get the second and subsequent pages of results.For the first
GetChannelScheduleRequestrequest, omit this value.For the second and subsequent requests, get the value of
NextTokenfrom the previous response and specify that value forNextTokenin the request.If the previous response didn't include a
NextTokenelement, there are no more channel schedules to get.
-
toBuilder
public GetChannelScheduleRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetChannelScheduleRequest.Builder,GetChannelScheduleRequest>- Specified by:
toBuilderin classMediaTailorRequest
-
builder
public static GetChannelScheduleRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetChannelScheduleRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-