Interface CmafPackageCreateOrUpdateParameters.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CmafPackageCreateOrUpdateParameters.Builder,
,CmafPackageCreateOrUpdateParameters> SdkBuilder<CmafPackageCreateOrUpdateParameters.Builder,
,CmafPackageCreateOrUpdateParameters> SdkPojo
- Enclosing class:
CmafPackageCreateOrUpdateParameters
public static interface CmafPackageCreateOrUpdateParameters.Builder
extends SdkPojo, CopyableBuilder<CmafPackageCreateOrUpdateParameters.Builder,CmafPackageCreateOrUpdateParameters>
-
Method Summary
Modifier and TypeMethodDescriptionencryption
(Consumer<CmafEncryption.Builder> encryption) Sets the value of the Encryption property for this object.encryption
(CmafEncryption encryption) Sets the value of the Encryption property for this object.hlsManifests
(Collection<HlsManifestCreateOrUpdateParameters> hlsManifests) A list of HLS manifest configurationshlsManifests
(Consumer<HlsManifestCreateOrUpdateParameters.Builder>... hlsManifests) A list of HLS manifest configurations This is a convenience method that creates an instance of theHlsManifestCreateOrUpdateParameters.Builder
avoiding the need to create one manually viaHlsManifestCreateOrUpdateParameters.builder()
.hlsManifests
(HlsManifestCreateOrUpdateParameters... hlsManifests) A list of HLS manifest configurationssegmentDurationSeconds
(Integer segmentDurationSeconds) Duration (in seconds) of each segment.segmentPrefix
(String segmentPrefix) An optional custom string that is prepended to the name of each segment.streamSelection
(Consumer<StreamSelection.Builder> streamSelection) Sets the value of the StreamSelection property for this object.streamSelection
(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 Details
-
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 CmafPackageCreateOrUpdateParameters.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.Builder
avoiding the need to create one manually viaCmafEncryption.builder()
.When the
Consumer
completes,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:
-
hlsManifests
CmafPackageCreateOrUpdateParameters.Builder hlsManifests(Collection<HlsManifestCreateOrUpdateParameters> 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
CmafPackageCreateOrUpdateParameters.Builder hlsManifests(HlsManifestCreateOrUpdateParameters... 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
CmafPackageCreateOrUpdateParameters.Builder hlsManifests(Consumer<HlsManifestCreateOrUpdateParameters.Builder>... hlsManifests) A list of HLS manifest configurations This is a convenience method that creates an instance of theHlsManifestCreateOrUpdateParameters.Builder
avoiding the need to create one manually viaHlsManifestCreateOrUpdateParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohlsManifests(List<HlsManifestCreateOrUpdateParameters>)
.- Parameters:
hlsManifests
- a consumer that will call methods onHlsManifestCreateOrUpdateParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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 CmafPackageCreateOrUpdateParameters.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.Builder
avoiding the need to create one manually viaStreamSelection.builder()
.When the
Consumer
completes,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:
-