io.burkard.cdk.services.mediapackage.cfnPackagingConfiguration.MssPackageProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.mediapackage.cfnPackagingConfiguration
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object MssPackageProperty {
def apply(
mssManifests: List[_],
segmentDurationSeconds: Option[Number] = None,
encryption: Option[software.amazon.awscdk.services.mediapackage.CfnPackagingConfiguration.MssEncryptionProperty] = None
): software.amazon.awscdk.services.mediapackage.CfnPackagingConfiguration.MssPackageProperty =
(new software.amazon.awscdk.services.mediapackage.CfnPackagingConfiguration.MssPackageProperty.Builder)
.mssManifests(mssManifests.asJava)
.segmentDurationSeconds(segmentDurationSeconds.orNull)
.encryption(encryption.orNull)
.build()
}