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

src.index.ReservedDomainArgs.scala Maven / Gradle / Ivy

There is a newer version: 0.0.24-core.0.3
Show newest version
package besom.api.ngrok

final case class ReservedDomainArgs private(
  acmeChallengeCnameTarget: besom.types.Output[scala.Option[String]],
  certificateId: besom.types.Output[scala.Option[String]],
  certificateManagementPolicies: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.inputs.ReservedDomainCertificateManagementPolicyArgs]]],
  cnameTarget: besom.types.Output[scala.Option[String]],
  description: besom.types.Output[scala.Option[String]],
  httpEndpointConfigurationId: besom.types.Output[scala.Option[String]],
  httpsEndpointConfigurationId: besom.types.Output[scala.Option[String]],
  metadata: besom.types.Output[scala.Option[String]],
  name: besom.types.Output[scala.Option[String]],
  region: besom.types.Output[scala.Option[String]]
)

object ReservedDomainArgs:
  def apply(
    acmeChallengeCnameTarget: besom.types.Input.Optional[String] = scala.None,
    certificateId: besom.types.Input.Optional[String] = scala.None,
    certificateManagementPolicies: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.ngrok.inputs.ReservedDomainCertificateManagementPolicyArgs]]] = scala.None,
    cnameTarget: besom.types.Input.Optional[String] = scala.None,
    description: besom.types.Input.Optional[String] = scala.None,
    httpEndpointConfigurationId: besom.types.Input.Optional[String] = scala.None,
    httpsEndpointConfigurationId: besom.types.Input.Optional[String] = scala.None,
    metadata: besom.types.Input.Optional[String] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    region: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): ReservedDomainArgs =
    new ReservedDomainArgs(
      acmeChallengeCnameTarget = acmeChallengeCnameTarget.asOptionOutput(isSecret = false),
      certificateId = certificateId.asOptionOutput(isSecret = false),
      certificateManagementPolicies = certificateManagementPolicies.asOptionOutput(isSecret = false),
      cnameTarget = cnameTarget.asOptionOutput(isSecret = false),
      description = description.asOptionOutput(isSecret = false),
      httpEndpointConfigurationId = httpEndpointConfigurationId.asOptionOutput(isSecret = false),
      httpsEndpointConfigurationId = httpsEndpointConfigurationId.asOptionOutput(isSecret = false),
      metadata = metadata.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      region = region.asOptionOutput(isSecret = false)
    )

  given encoder(using besom.types.Context): besom.types.Encoder[ReservedDomainArgs] =
    besom.internal.Encoder.derived[ReservedDomainArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[ReservedDomainArgs] =
    besom.internal.ArgsEncoder.derived[ReservedDomainArgs]






© 2015 - 2024 Weber Informatics LLC | Privacy Policy