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

src.datastream.v1alpha1.PrivateConnectionArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.datastream.v1alpha1

final case class PrivateConnectionArgs private(
  displayName: besom.types.Output[String],
  labels: besom.types.Output[scala.Option[scala.Predef.Map[String, String]]],
  location: besom.types.Output[scala.Option[String]],
  privateConnectionId: besom.types.Output[String],
  project: besom.types.Output[scala.Option[String]],
  requestId: besom.types.Output[scala.Option[String]],
  vpcPeeringConfig: besom.types.Output[scala.Option[besom.api.googlenative.datastream.v1alpha1.inputs.VpcPeeringConfigArgs]]
)

object PrivateConnectionArgs:
  def apply(
    displayName: besom.types.Input[String],
    labels: besom.types.Input.Optional[scala.Predef.Map[String, besom.types.Input[String]]] = scala.None,
    location: besom.types.Input.Optional[String] = scala.None,
    privateConnectionId: besom.types.Input[String],
    project: besom.types.Input.Optional[String] = scala.None,
    requestId: besom.types.Input.Optional[String] = scala.None,
    vpcPeeringConfig: besom.types.Input.Optional[besom.api.googlenative.datastream.v1alpha1.inputs.VpcPeeringConfigArgs] = scala.None
  )(using besom.types.Context): PrivateConnectionArgs =
    new PrivateConnectionArgs(
      displayName = displayName.asOutput(isSecret = false),
      labels = labels.asOptionOutput(isSecret = false),
      location = location.asOptionOutput(isSecret = false),
      privateConnectionId = privateConnectionId.asOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      requestId = requestId.asOptionOutput(isSecret = false),
      vpcPeeringConfig = vpcPeeringConfig.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy