io.burkard.cdk.services.ec2.cfnLaunchTemplate.PrivateDnsNameOptionsProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.ec2.cfnLaunchTemplate
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object PrivateDnsNameOptionsProperty {
def apply(
enableResourceNameDnsAaaaRecord: Option[Boolean] = None,
enableResourceNameDnsARecord: Option[Boolean] = None,
hostnameType: Option[String] = None
): software.amazon.awscdk.services.ec2.CfnLaunchTemplate.PrivateDnsNameOptionsProperty =
(new software.amazon.awscdk.services.ec2.CfnLaunchTemplate.PrivateDnsNameOptionsProperty.Builder)
.enableResourceNameDnsAaaaRecord(enableResourceNameDnsAaaaRecord.map(Boolean.box).orNull)
.enableResourceNameDnsARecord(enableResourceNameDnsARecord.map(Boolean.box).orNull)
.hostnameType(hostnameType.orNull)
.build()
}