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

io.burkard.cdk.services.pinpoint.CfnAPNSChannelProps.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.pinpoint

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

  def apply(
    applicationId: String,
    tokenKeyId: Option[String] = None,
    bundleId: Option[String] = None,
    certificate: Option[String] = None,
    teamId: Option[String] = None,
    enabled: Option[Boolean] = None,
    tokenKey: Option[String] = None,
    privateKey: Option[String] = None,
    defaultAuthenticationMethod: Option[String] = None
  ): software.amazon.awscdk.services.pinpoint.CfnAPNSChannelProps =
    (new software.amazon.awscdk.services.pinpoint.CfnAPNSChannelProps.Builder)
      .applicationId(applicationId)
      .tokenKeyId(tokenKeyId.orNull)
      .bundleId(bundleId.orNull)
      .certificate(certificate.orNull)
      .teamId(teamId.orNull)
      .enabled(enabled.map(Boolean.box).orNull)
      .tokenKey(tokenKey.orNull)
      .privateKey(privateKey.orNull)
      .defaultAuthenticationMethod(defaultAuthenticationMethod.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy