io.burkard.cdk.services.cognito.cfnUserPoolClient.AnalyticsConfigurationProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.cognito.cfnUserPoolClient
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object AnalyticsConfigurationProperty {
def apply(
externalId: Option[String] = None,
userDataShared: Option[Boolean] = None,
applicationId: Option[String] = None,
applicationArn: Option[String] = None,
roleArn: Option[String] = None
): software.amazon.awscdk.services.cognito.CfnUserPoolClient.AnalyticsConfigurationProperty =
(new software.amazon.awscdk.services.cognito.CfnUserPoolClient.AnalyticsConfigurationProperty.Builder)
.externalId(externalId.orNull)
.userDataShared(userDataShared.map(Boolean.box).orNull)
.applicationId(applicationId.orNull)
.applicationArn(applicationArn.orNull)
.roleArn(roleArn.orNull)
.build()
}