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

io.burkard.cdk.services.appflow.cfnConnectorProfile.OAuth2CredentialsProperty.scala Maven / Gradle / Ivy

package io.burkard.cdk.services.appflow.cfnConnectorProfile

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

  def apply(
    clientId: Option[String] = None,
    oAuthRequest: Option[software.amazon.awscdk.services.appflow.CfnConnectorProfile.ConnectorOAuthRequestProperty] = None,
    clientSecret: Option[String] = None,
    refreshToken: Option[String] = None,
    accessToken: Option[String] = None
  ): software.amazon.awscdk.services.appflow.CfnConnectorProfile.OAuth2CredentialsProperty =
    (new software.amazon.awscdk.services.appflow.CfnConnectorProfile.OAuth2CredentialsProperty.Builder)
      .clientId(clientId.orNull)
      .oAuthRequest(oAuthRequest.orNull)
      .clientSecret(clientSecret.orNull)
      .refreshToken(refreshToken.orNull)
      .accessToken(accessToken.orNull)
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy