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

io.burkard.cdk.services.elasticsearch.cfnDomain.DomainEndpointOptionsProperty.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.elasticsearch.cfnDomain

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object DomainEndpointOptionsProperty {

  def apply(
    tlsSecurityPolicy: Option[String] = None,
    customEndpointCertificateArn: Option[String] = None,
    customEndpoint: Option[String] = None,
    customEndpointEnabled: Option[Boolean] = None,
    enforceHttps: Option[Boolean] = None
  ): software.amazon.awscdk.services.elasticsearch.CfnDomain.DomainEndpointOptionsProperty =
    (new software.amazon.awscdk.services.elasticsearch.CfnDomain.DomainEndpointOptionsProperty.Builder)
      .tlsSecurityPolicy(tlsSecurityPolicy.orNull)
      .customEndpointCertificateArn(customEndpointCertificateArn.orNull)
      .customEndpoint(customEndpoint.orNull)
      .customEndpointEnabled(customEndpointEnabled.map(Boolean.box).orNull)
      .enforceHttps(enforceHttps.map(Boolean.box).orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy