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

src.genomics.v1alpha2.Pipeline.scala Maven / Gradle / Ivy

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

final case class Pipeline private(
  urn: besom.types.Output[besom.types.URN],
  id: besom.types.Output[besom.types.ResourceId],
  description: besom.types.Output[String],
  docker: besom.types.Output[besom.api.googlenative.genomics.v1alpha2.outputs.DockerExecutorResponse],
  inputParameters: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.genomics.v1alpha2.outputs.PipelineParameterResponse]],
  name: besom.types.Output[String],
  outputParameters: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.genomics.v1alpha2.outputs.PipelineParameterResponse]],
  pipelineId: besom.types.Output[String],
  project: besom.types.Output[String],
  resources: besom.types.Output[besom.api.googlenative.genomics.v1alpha2.outputs.PipelineResourcesResponse]
) extends besom.CustomResource

object Pipeline extends besom.ResourceCompanion[Pipeline]:
  /** Resource constructor for Pipeline. 
    * 
    * @param name [[besom.util.NonEmptyString]] The unique (stack-wise) name of the resource in Pulumi state (not on provider's side).
    *        NonEmptyString is inferred automatically from non-empty string literals, even when interpolated. If you encounter any
    *        issues with this, please try using `: NonEmptyString` type annotation. If you need to convert a dynamically generated
    *        string to NonEmptyString, use `NonEmptyString.apply` method - `NonEmptyString(str): Option[NonEmptyString]`.
    *
    * @param args [[PipelineArgs]] The configuration to use to create this resource. 
    *
    * @param opts [[besom.CustomResourceOptions]] Resource options to use for this resource. 
    *        Defaults to empty options. If you need to set some options, use [[besom.opts]] function to create them, for example:
    *  
    *        {{{
    *        val res = Pipeline(
    *          "my-resource",
    *          PipelineArgs(...), // your args
    *          opts(provider = myProvider)
    *        )
    *        }}}
    */
  def apply(using ctx: besom.types.Context)(
    name: besom.util.NonEmptyString,
    args: PipelineArgs,
    opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
  ): besom.types.Output[Pipeline] =
    ctx.readOrRegisterResource[Pipeline, PipelineArgs]("google-native:genomics/v1alpha2:Pipeline", name, args, opts(using besom.ResourceOptsVariant.Custom))

  private[besom] def typeToken: besom.types.ResourceType = "google-native:genomics/v1alpha2:Pipeline"

  given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[Pipeline] =
    besom.internal.ResourceDecoder.derived[Pipeline]

  given decoder(using besom.types.Context): besom.types.Decoder[Pipeline] =
    besom.internal.Decoder.customResourceDecoder[Pipeline]


  given outputOps: {} with
    extension(output: besom.types.Output[Pipeline])
      def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
      def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
      def description : besom.types.Output[String] = output.flatMap(_.description)
      def docker : besom.types.Output[besom.api.googlenative.genomics.v1alpha2.outputs.DockerExecutorResponse] = output.flatMap(_.docker)
      def inputParameters : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.genomics.v1alpha2.outputs.PipelineParameterResponse]] = output.flatMap(_.inputParameters)
      def name : besom.types.Output[String] = output.flatMap(_.name)
      def outputParameters : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.genomics.v1alpha2.outputs.PipelineParameterResponse]] = output.flatMap(_.outputParameters)
      def pipelineId : besom.types.Output[String] = output.flatMap(_.pipelineId)
      def project : besom.types.Output[String] = output.flatMap(_.project)
      def resources : besom.types.Output[besom.api.googlenative.genomics.v1alpha2.outputs.PipelineResourcesResponse] = output.flatMap(_.resources)





© 2015 - 2025 Weber Informatics LLC | Privacy Policy