io.burkard.cdk.services.elasticsearch.cfnDomain.AdvancedSecurityOptionsInputProperty.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 AdvancedSecurityOptionsInputProperty {
def apply(
enabled: Option[Boolean] = None,
anonymousAuthEnabled: Option[Boolean] = None,
internalUserDatabaseEnabled: Option[Boolean] = None,
masterUserOptions: Option[software.amazon.awscdk.services.elasticsearch.CfnDomain.MasterUserOptionsProperty] = None
): software.amazon.awscdk.services.elasticsearch.CfnDomain.AdvancedSecurityOptionsInputProperty =
(new software.amazon.awscdk.services.elasticsearch.CfnDomain.AdvancedSecurityOptionsInputProperty.Builder)
.enabled(enabled.map(Boolean.box).orNull)
.anonymousAuthEnabled(anonymousAuthEnabled.map(Boolean.box).orNull)
.internalUserDatabaseEnabled(internalUserDatabaseEnabled.map(Boolean.box).orNull)
.masterUserOptions(masterUserOptions.orNull)
.build()
}