Interface CmafPackage.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CmafPackage.Builder,CmafPackage>,SdkBuilder<CmafPackage.Builder,CmafPackage>,SdkPojo
- Enclosing class:
- CmafPackage
public static interface CmafPackage.Builder extends SdkPojo, CopyableBuilder<CmafPackage.Builder,CmafPackage>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CmafPackage.Builderencryption(Consumer<CmafEncryption.Builder> encryption)Sets the value of the Encryption property for this object.CmafPackage.Builderencryption(CmafEncryption encryption)Sets the value of the Encryption property for this object.CmafPackage.BuilderhlsManifests(Collection<HlsManifest> hlsManifests)A list of HLS manifest configurationsCmafPackage.BuilderhlsManifests(Consumer<HlsManifest.Builder>... hlsManifests)A list of HLS manifest configurations This is a convenience method that creates an instance of theHlsManifest.Builderavoiding the need to create one manually viaHlsManifest.builder().CmafPackage.BuilderhlsManifests(HlsManifest... hlsManifests)A list of HLS manifest configurationsCmafPackage.BuildersegmentDurationSeconds(Integer segmentDurationSeconds)Duration (in seconds) of each segment.CmafPackage.BuildersegmentPrefix(String segmentPrefix)An optional custom string that is prepended to the name of each segment.default CmafPackage.BuilderstreamSelection(Consumer<StreamSelection.Builder> streamSelection)Sets the value of the StreamSelection property for this object.CmafPackage.BuilderstreamSelection(StreamSelection streamSelection)Sets the value of the StreamSelection property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
encryption
CmafPackage.Builder encryption(CmafEncryption encryption)
Sets the value of the Encryption property for this object.- Parameters:
encryption- The new value for the Encryption property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryption
default CmafPackage.Builder encryption(Consumer<CmafEncryption.Builder> encryption)
Sets the value of the Encryption property for this object. This is a convenience method that creates an instance of theCmafEncryption.Builderavoiding the need to create one manually viaCmafEncryption.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryption(CmafEncryption).- Parameters:
encryption- a consumer that will call methods onCmafEncryption.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
encryption(CmafEncryption)
-
hlsManifests
CmafPackage.Builder hlsManifests(Collection<HlsManifest> hlsManifests)
A list of HLS manifest configurations- Parameters:
hlsManifests- A list of HLS manifest configurations- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hlsManifests
CmafPackage.Builder hlsManifests(HlsManifest... hlsManifests)
A list of HLS manifest configurations- Parameters:
hlsManifests- A list of HLS manifest configurations- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hlsManifests
CmafPackage.Builder hlsManifests(Consumer<HlsManifest.Builder>... hlsManifests)
A list of HLS manifest configurations This is a convenience method that creates an instance of theHlsManifest.Builderavoiding the need to create one manually viaHlsManifest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#hlsManifests(List.) - Parameters:
hlsManifests- a consumer that will call methods onHlsManifest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#hlsManifests(java.util.Collection)
-
segmentDurationSeconds
CmafPackage.Builder segmentDurationSeconds(Integer segmentDurationSeconds)
Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source segment duration.- Parameters:
segmentDurationSeconds- Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source segment duration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentPrefix
CmafPackage.Builder segmentPrefix(String segmentPrefix)
An optional custom string that is prepended to the name of each segment. If not specified, it defaults to the ChannelId.- Parameters:
segmentPrefix- An optional custom string that is prepended to the name of each segment. If not specified, it defaults to the ChannelId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamSelection
CmafPackage.Builder streamSelection(StreamSelection streamSelection)
Sets the value of the StreamSelection property for this object.- Parameters:
streamSelection- The new value for the StreamSelection property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamSelection
default CmafPackage.Builder streamSelection(Consumer<StreamSelection.Builder> streamSelection)
Sets the value of the StreamSelection property for this object. This is a convenience method that creates an instance of theStreamSelection.Builderavoiding the need to create one manually viaStreamSelection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostreamSelection(StreamSelection).- Parameters:
streamSelection- a consumer that will call methods onStreamSelection.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
streamSelection(StreamSelection)
-
-