Interface DescribeProgramResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeProgramResponse.Builder,
,DescribeProgramResponse> MediaTailorResponse.Builder
,SdkBuilder<DescribeProgramResponse.Builder,
,DescribeProgramResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeProgramResponse
-
Method Summary
Modifier and TypeMethodDescriptionadBreaks
(Collection<AdBreak> adBreaks) The ad break configuration settings.adBreaks
(Consumer<AdBreak.Builder>... adBreaks) The ad break configuration settings.The ad break configuration settings.The ARN of the program.audienceMedia
(Collection<AudienceMedia> audienceMedia) The list of AudienceMedia defined in program.audienceMedia
(Consumer<AudienceMedia.Builder>... audienceMedia) The list of AudienceMedia defined in program.audienceMedia
(AudienceMedia... audienceMedia) The list of AudienceMedia defined in program.channelName
(String channelName) The name of the channel that the program belongs to.default DescribeProgramResponse.Builder
clipRange
(Consumer<ClipRange.Builder> clipRange) The clip range configuration settings.The clip range configuration settings.creationTime
(Instant creationTime) The timestamp of when the program was created.durationMillis
(Long durationMillis) The duration of the live program in milliseconds.liveSourceName
(String liveSourceName) The name of the LiveSource for this Program.programName
(String programName) The name of the program.scheduledStartTime
(Instant scheduledStartTime) The date and time that the program is scheduled to start in ISO 8601 format and Coordinated Universal Time (UTC).sourceLocationName
(String sourceLocationName) The source location name.vodSourceName
(String vodSourceName) The name that's used to refer to a VOD source.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mediatailor.model.MediaTailorResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
adBreaks
The ad break configuration settings.
- Parameters:
adBreaks
- The ad break configuration settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adBreaks
The ad break configuration settings.
- Parameters:
adBreaks
- The ad break configuration settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adBreaks
The ad break configuration settings.
This is a convenience method that creates an instance of theAdBreak.Builder
avoiding the need to create one manually viaAdBreak.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toadBreaks(List<AdBreak>)
.- Parameters:
adBreaks
- a consumer that will call methods onAdBreak.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
arn
The ARN of the program.
- Parameters:
arn
- The ARN of the program.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audienceMedia
The list of AudienceMedia defined in program.
- Parameters:
audienceMedia
- The list of AudienceMedia defined in program.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audienceMedia
The list of AudienceMedia defined in program.
- Parameters:
audienceMedia
- The list of AudienceMedia defined in program.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audienceMedia
The list of AudienceMedia defined in program.
This is a convenience method that creates an instance of theAudienceMedia.Builder
avoiding the need to create one manually viaAudienceMedia.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaudienceMedia(List<AudienceMedia>)
.- Parameters:
audienceMedia
- a consumer that will call methods onAudienceMedia.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
channelName
The name of the channel that the program belongs to.
- Parameters:
channelName
- The name of the channel that the program belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clipRange
The clip range configuration settings.
- Parameters:
clipRange
- The clip range configuration settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clipRange
The clip range configuration settings.
This is a convenience method that creates an instance of theClipRange.Builder
avoiding the need to create one manually viaClipRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclipRange(ClipRange)
.- Parameters:
clipRange
- a consumer that will call methods onClipRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
The timestamp of when the program was created.
- Parameters:
creationTime
- The timestamp of when the program was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
durationMillis
The duration of the live program in milliseconds.
- Parameters:
durationMillis
- The duration of the live program in milliseconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
liveSourceName
The name of the LiveSource for this Program.
- Parameters:
liveSourceName
- The name of the LiveSource for this Program.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
programName
The name of the program.
- Parameters:
programName
- The name of the program.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledStartTime
The date and time that the program is scheduled to start in ISO 8601 format and Coordinated Universal Time (UTC). For example, the value 2021-03-27T17:48:16.751Z represents March 27, 2021 at 17:48:16.751 UTC.
- Parameters:
scheduledStartTime
- The date and time that the program is scheduled to start in ISO 8601 format and Coordinated Universal Time (UTC). For example, the value 2021-03-27T17:48:16.751Z represents March 27, 2021 at 17:48:16.751 UTC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceLocationName
The source location name.
- Parameters:
sourceLocationName
- The source location name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vodSourceName
The name that's used to refer to a VOD source.
- Parameters:
vodSourceName
- The name that's used to refer to a VOD source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-