All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.ec2.cfnInstance.PrivateDnsNameOptionsProperty.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.ec2.cfnInstance

@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.CfnInstance.PrivateDnsNameOptionsProperty =
    (new software.amazon.awscdk.services.ec2.CfnInstance.PrivateDnsNameOptionsProperty.Builder)
      .enableResourceNameDnsAaaaRecord(enableResourceNameDnsAaaaRecord.map(Boolean.box).orNull)
      .enableResourceNameDnsARecord(enableResourceNameDnsARecord.map(Boolean.box).orNull)
      .hostnameType(hostnameType.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy