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

src.dataproc.v1.NodeGroupArgs.scala Maven / Gradle / Ivy

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

final case class NodeGroupArgs private(
  clusterId: besom.types.Output[String],
  labels: besom.types.Output[scala.Option[scala.Predef.Map[String, String]]],
  name: besom.types.Output[scala.Option[String]],
  nodeGroupConfig: besom.types.Output[scala.Option[besom.api.googlenative.dataproc.v1.inputs.InstanceGroupConfigArgs]],
  nodeGroupId: besom.types.Output[scala.Option[String]],
  parentOperationId: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  regionId: besom.types.Output[String],
  requestId: besom.types.Output[scala.Option[String]],
  roles: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.dataproc.v1.enums.NodeGroupRolesItem]]
)

object NodeGroupArgs:
  def apply(
    clusterId: besom.types.Input[String],
    labels: besom.types.Input.Optional[scala.Predef.Map[String, besom.types.Input[String]]] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    nodeGroupConfig: besom.types.Input.Optional[besom.api.googlenative.dataproc.v1.inputs.InstanceGroupConfigArgs] = scala.None,
    nodeGroupId: besom.types.Input.Optional[String] = scala.None,
    parentOperationId: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    regionId: besom.types.Input[String],
    requestId: besom.types.Input.Optional[String] = scala.None,
    roles: besom.types.Input[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.dataproc.v1.enums.NodeGroupRolesItem]]]
  )(using besom.types.Context): NodeGroupArgs =
    new NodeGroupArgs(
      clusterId = clusterId.asOutput(isSecret = false),
      labels = labels.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      nodeGroupConfig = nodeGroupConfig.asOptionOutput(isSecret = false),
      nodeGroupId = nodeGroupId.asOptionOutput(isSecret = false),
      parentOperationId = parentOperationId.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      regionId = regionId.asOutput(isSecret = false),
      requestId = requestId.asOptionOutput(isSecret = false),
      roles = roles.asOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy