Interface CmafPackage.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<CmafPackage.Builder,,- CmafPackage> - SdkBuilder<CmafPackage.Builder,,- CmafPackage> - SdkPojo
- Enclosing class:
- CmafPackage
@Mutable
@NotThreadSafe
public static interface CmafPackage.Builder
extends SdkPojo, CopyableBuilder<CmafPackage.Builder,CmafPackage> 
- 
Method SummaryModifier and TypeMethodDescriptiondefault CmafPackage.Builderencryption(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<HlsManifest> hlsManifests) A list of HLS manifest configurations.hlsManifests(Consumer<HlsManifest.Builder>... hlsManifests) A list of HLS manifest configurations.hlsManifests(HlsManifest... hlsManifests) A list of HLS manifest configurations.includeEncoderConfigurationInSegments(Boolean includeEncoderConfigurationInSegments) When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment.segmentDurationSeconds(Integer segmentDurationSeconds) Duration (in seconds) of each fragment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
encryptionSets 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.
 
- 
encryptionSets 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 on- CmafEncryption.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
hlsManifestsA 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.
 
- 
hlsManifestsA 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.
 
- 
hlsManifestsA 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 tohlsManifests(List<HlsManifest>).- Parameters:
- hlsManifests- a consumer that will call methods on- HlsManifest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
includeEncoderConfigurationInSegmentsCmafPackage.Builder includeEncoderConfigurationInSegments(Boolean includeEncoderConfigurationInSegments) When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets during content playback.- Parameters:
- includeEncoderConfigurationInSegments- When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets during content playback.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
segmentDurationSecondsDuration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration.- Parameters:
- segmentDurationSeconds- Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-