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

com.pulumi.aws.datapipeline.PipelineDefinitionArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The newest version!
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.datapipeline;

import com.pulumi.aws.datapipeline.inputs.PipelineDefinitionParameterObjectArgs;
import com.pulumi.aws.datapipeline.inputs.PipelineDefinitionParameterValueArgs;
import com.pulumi.aws.datapipeline.inputs.PipelineDefinitionPipelineObjectArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class PipelineDefinitionArgs extends com.pulumi.resources.ResourceArgs {

    public static final PipelineDefinitionArgs Empty = new PipelineDefinitionArgs();

    /**
     * Configuration block for the parameter objects used in the pipeline definition. See below
     * 
     */
    @Import(name="parameterObjects")
    private @Nullable Output> parameterObjects;

    /**
     * @return Configuration block for the parameter objects used in the pipeline definition. See below
     * 
     */
    public Optional>> parameterObjects() {
        return Optional.ofNullable(this.parameterObjects);
    }

    /**
     * Configuration block for the parameter values used in the pipeline definition. See below
     * 
     */
    @Import(name="parameterValues")
    private @Nullable Output> parameterValues;

    /**
     * @return Configuration block for the parameter values used in the pipeline definition. See below
     * 
     */
    public Optional>> parameterValues() {
        return Optional.ofNullable(this.parameterValues);
    }

    /**
     * ID of the pipeline.
     * 
     */
    @Import(name="pipelineId", required=true)
    private Output pipelineId;

    /**
     * @return ID of the pipeline.
     * 
     */
    public Output pipelineId() {
        return this.pipelineId;
    }

    /**
     * Configuration block for the objects that define the pipeline. See below
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="pipelineObjects", required=true)
    private Output> pipelineObjects;

    /**
     * @return Configuration block for the objects that define the pipeline. See below
     * 
     * The following arguments are optional:
     * 
     */
    public Output> pipelineObjects() {
        return this.pipelineObjects;
    }

    private PipelineDefinitionArgs() {}

    private PipelineDefinitionArgs(PipelineDefinitionArgs $) {
        this.parameterObjects = $.parameterObjects;
        this.parameterValues = $.parameterValues;
        this.pipelineId = $.pipelineId;
        this.pipelineObjects = $.pipelineObjects;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(PipelineDefinitionArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private PipelineDefinitionArgs $;

        public Builder() {
            $ = new PipelineDefinitionArgs();
        }

        public Builder(PipelineDefinitionArgs defaults) {
            $ = new PipelineDefinitionArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param parameterObjects Configuration block for the parameter objects used in the pipeline definition. See below
         * 
         * @return builder
         * 
         */
        public Builder parameterObjects(@Nullable Output> parameterObjects) {
            $.parameterObjects = parameterObjects;
            return this;
        }

        /**
         * @param parameterObjects Configuration block for the parameter objects used in the pipeline definition. See below
         * 
         * @return builder
         * 
         */
        public Builder parameterObjects(List parameterObjects) {
            return parameterObjects(Output.of(parameterObjects));
        }

        /**
         * @param parameterObjects Configuration block for the parameter objects used in the pipeline definition. See below
         * 
         * @return builder
         * 
         */
        public Builder parameterObjects(PipelineDefinitionParameterObjectArgs... parameterObjects) {
            return parameterObjects(List.of(parameterObjects));
        }

        /**
         * @param parameterValues Configuration block for the parameter values used in the pipeline definition. See below
         * 
         * @return builder
         * 
         */
        public Builder parameterValues(@Nullable Output> parameterValues) {
            $.parameterValues = parameterValues;
            return this;
        }

        /**
         * @param parameterValues Configuration block for the parameter values used in the pipeline definition. See below
         * 
         * @return builder
         * 
         */
        public Builder parameterValues(List parameterValues) {
            return parameterValues(Output.of(parameterValues));
        }

        /**
         * @param parameterValues Configuration block for the parameter values used in the pipeline definition. See below
         * 
         * @return builder
         * 
         */
        public Builder parameterValues(PipelineDefinitionParameterValueArgs... parameterValues) {
            return parameterValues(List.of(parameterValues));
        }

        /**
         * @param pipelineId ID of the pipeline.
         * 
         * @return builder
         * 
         */
        public Builder pipelineId(Output pipelineId) {
            $.pipelineId = pipelineId;
            return this;
        }

        /**
         * @param pipelineId ID of the pipeline.
         * 
         * @return builder
         * 
         */
        public Builder pipelineId(String pipelineId) {
            return pipelineId(Output.of(pipelineId));
        }

        /**
         * @param pipelineObjects Configuration block for the objects that define the pipeline. See below
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder pipelineObjects(Output> pipelineObjects) {
            $.pipelineObjects = pipelineObjects;
            return this;
        }

        /**
         * @param pipelineObjects Configuration block for the objects that define the pipeline. See below
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder pipelineObjects(List pipelineObjects) {
            return pipelineObjects(Output.of(pipelineObjects));
        }

        /**
         * @param pipelineObjects Configuration block for the objects that define the pipeline. See below
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder pipelineObjects(PipelineDefinitionPipelineObjectArgs... pipelineObjects) {
            return pipelineObjects(List.of(pipelineObjects));
        }

        public PipelineDefinitionArgs build() {
            if ($.pipelineId == null) {
                throw new MissingRequiredPropertyException("PipelineDefinitionArgs", "pipelineId");
            }
            if ($.pipelineObjects == null) {
                throw new MissingRequiredPropertyException("PipelineDefinitionArgs", "pipelineObjects");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy