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

io.burkard.cdk.services.codestar.CfnGitHubRepositoryProps.scala Maven / Gradle / Ivy

package io.burkard.cdk.services.codestar

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

  def apply(
    repositoryName: String,
    repositoryOwner: String,
    repositoryAccessToken: Option[String] = None,
    connectionArn: Option[String] = None,
    repositoryDescription: Option[String] = None,
    code: Option[software.amazon.awscdk.services.codestar.CfnGitHubRepository.CodeProperty] = None,
    isPrivate: Option[Boolean] = None,
    enableIssues: Option[Boolean] = None
  ): software.amazon.awscdk.services.codestar.CfnGitHubRepositoryProps =
    (new software.amazon.awscdk.services.codestar.CfnGitHubRepositoryProps.Builder)
      .repositoryName(repositoryName)
      .repositoryOwner(repositoryOwner)
      .repositoryAccessToken(repositoryAccessToken.orNull)
      .connectionArn(connectionArn.orNull)
      .repositoryDescription(repositoryDescription.orNull)
      .code(code.orNull)
      .isPrivate(isPrivate.map(Boolean.box).orNull)
      .enableIssues(enableIssues.map(Boolean.box).orNull)
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy