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

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

The newest version!
package besom.api.akamai

final case class CpsUploadCertificateArgs private(
  acknowledgeChangeManagement: besom.types.Output[scala.Option[Boolean]],
  acknowledgePostVerificationWarnings: besom.types.Output[scala.Option[Boolean]],
  autoApproveWarnings: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  certificateEcdsaPem: besom.types.Output[scala.Option[String]],
  certificateRsaPem: besom.types.Output[scala.Option[String]],
  enrollmentId: besom.types.Output[Int],
  timeouts: besom.types.Output[scala.Option[besom.api.akamai.inputs.CpsUploadCertificateTimeoutsArgs]],
  trustChainEcdsaPem: besom.types.Output[scala.Option[String]],
  trustChainRsaPem: besom.types.Output[scala.Option[String]],
  waitForDeployment: besom.types.Output[scala.Option[Boolean]]
)

object CpsUploadCertificateArgs:
  def apply(
    acknowledgeChangeManagement: besom.types.Input.Optional[Boolean] = scala.None,
    acknowledgePostVerificationWarnings: besom.types.Input.Optional[Boolean] = scala.None,
    autoApproveWarnings: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    certificateEcdsaPem: besom.types.Input.Optional[String] = scala.None,
    certificateRsaPem: besom.types.Input.Optional[String] = scala.None,
    enrollmentId: besom.types.Input[Int],
    timeouts: besom.types.Input.Optional[besom.api.akamai.inputs.CpsUploadCertificateTimeoutsArgs] = scala.None,
    trustChainEcdsaPem: besom.types.Input.Optional[String] = scala.None,
    trustChainRsaPem: besom.types.Input.Optional[String] = scala.None,
    waitForDeployment: besom.types.Input.Optional[Boolean] = scala.None
  )(using besom.types.Context): CpsUploadCertificateArgs =
    new CpsUploadCertificateArgs(
      acknowledgeChangeManagement = acknowledgeChangeManagement.asOptionOutput(isSecret = false),
      acknowledgePostVerificationWarnings = acknowledgePostVerificationWarnings.asOptionOutput(isSecret = false),
      autoApproveWarnings = autoApproveWarnings.asOptionOutput(isSecret = false),
      certificateEcdsaPem = certificateEcdsaPem.asOptionOutput(isSecret = false),
      certificateRsaPem = certificateRsaPem.asOptionOutput(isSecret = false),
      enrollmentId = enrollmentId.asOutput(isSecret = false),
      timeouts = timeouts.asOptionOutput(isSecret = false),
      trustChainEcdsaPem = trustChainEcdsaPem.asOptionOutput(isSecret = false),
      trustChainRsaPem = trustChainRsaPem.asOptionOutput(isSecret = false),
      waitForDeployment = waitForDeployment.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy