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

src.dataproc.v1beta2.ClusterArgs.scala Maven / Gradle / Ivy

There is a newer version: 0.32.0-core.0.4
Show newest version
package besom.api.googlenative.dataproc.v1beta2

final case class ClusterArgs private(
  clusterName: besom.types.Output[String],
  config: besom.types.Output[besom.api.googlenative.dataproc.v1beta2.inputs.ClusterConfigArgs],
  labels: besom.types.Output[scala.Option[scala.Predef.Map[String, String]]],
  project: besom.types.Output[scala.Option[String]],
  region: besom.types.Output[String],
  requestId: besom.types.Output[scala.Option[String]]
)

object ClusterArgs:
  def apply(
    clusterName: besom.types.Input[String],
    config: besom.types.Input[besom.api.googlenative.dataproc.v1beta2.inputs.ClusterConfigArgs],
    labels: besom.types.Input.Optional[scala.Predef.Map[String, besom.types.Input[String]]] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    region: besom.types.Input[String],
    requestId: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): ClusterArgs =
    new ClusterArgs(
      clusterName = clusterName.asOutput(isSecret = false),
      config = config.asOutput(isSecret = false),
      labels = labels.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      region = region.asOutput(isSecret = false),
      requestId = requestId.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy