io.burkard.cdk.services.appflow.ZendeskConnectorProfileCredentialsProperty.scala Maven / Gradle / Ivy
package io.burkard.cdk.services.appflow
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ZendeskConnectorProfileCredentialsProperty {
def apply(
clientId: String,
clientSecret: String,
connectorOAuthRequest: Option[software.amazon.awscdk.services.appflow.CfnConnectorProfile.ConnectorOAuthRequestProperty] = None,
accessToken: Option[String] = None
): software.amazon.awscdk.services.appflow.CfnConnectorProfile.ZendeskConnectorProfileCredentialsProperty =
(new software.amazon.awscdk.services.appflow.CfnConnectorProfile.ZendeskConnectorProfileCredentialsProperty.Builder)
.clientId(clientId)
.clientSecret(clientSecret)
.connectorOAuthRequest(connectorOAuthRequest.orNull)
.accessToken(accessToken.orNull)
.build()
}