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

com.pulumi.googlenative.dataform.v1beta1.inputs.TargetArgs Maven / Gradle / Ivy

// *** 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.googlenative.dataform.v1beta1.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Represents an action identifier. If the action writes output, the output will be written to the referenced database object.
 * 
 */
public final class TargetArgs extends com.pulumi.resources.ResourceArgs {

    public static final TargetArgs Empty = new TargetArgs();

    /**
     * The action's database (Google Cloud project ID) .
     * 
     */
    @Import(name="database")
    private @Nullable Output database;

    /**
     * @return The action's database (Google Cloud project ID) .
     * 
     */
    public Optional> database() {
        return Optional.ofNullable(this.database);
    }

    /**
     * The action's name, within `database` and `schema`.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The action's name, within `database` and `schema`.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The action's schema (BigQuery dataset ID), within `database`.
     * 
     */
    @Import(name="schema")
    private @Nullable Output schema;

    /**
     * @return The action's schema (BigQuery dataset ID), within `database`.
     * 
     */
    public Optional> schema() {
        return Optional.ofNullable(this.schema);
    }

    private TargetArgs() {}

    private TargetArgs(TargetArgs $) {
        this.database = $.database;
        this.name = $.name;
        this.schema = $.schema;
    }

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

    public static final class Builder {
        private TargetArgs $;

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

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

        /**
         * @param database The action's database (Google Cloud project ID) .
         * 
         * @return builder
         * 
         */
        public Builder database(@Nullable Output database) {
            $.database = database;
            return this;
        }

        /**
         * @param database The action's database (Google Cloud project ID) .
         * 
         * @return builder
         * 
         */
        public Builder database(String database) {
            return database(Output.of(database));
        }

        /**
         * @param name The action's name, within `database` and `schema`.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The action's name, within `database` and `schema`.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param schema The action's schema (BigQuery dataset ID), within `database`.
         * 
         * @return builder
         * 
         */
        public Builder schema(@Nullable Output schema) {
            $.schema = schema;
            return this;
        }

        /**
         * @param schema The action's schema (BigQuery dataset ID), within `database`.
         * 
         * @return builder
         * 
         */
        public Builder schema(String schema) {
            return schema(Output.of(schema));
        }

        public TargetArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy