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

com.pulumi.azurenative.datamigration.inputs.ConnectToSourceOracleSyncTaskInputArgs Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show 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.azurenative.datamigration.inputs;

import com.pulumi.azurenative.datamigration.inputs.OracleConnectionInfoArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;


/**
 * Input for the task that validates Oracle database connection
 * 
 */
public final class ConnectToSourceOracleSyncTaskInputArgs extends com.pulumi.resources.ResourceArgs {

    public static final ConnectToSourceOracleSyncTaskInputArgs Empty = new ConnectToSourceOracleSyncTaskInputArgs();

    /**
     * Information for connecting to Oracle source
     * 
     */
    @Import(name="sourceConnectionInfo", required=true)
    private Output sourceConnectionInfo;

    /**
     * @return Information for connecting to Oracle source
     * 
     */
    public Output sourceConnectionInfo() {
        return this.sourceConnectionInfo;
    }

    private ConnectToSourceOracleSyncTaskInputArgs() {}

    private ConnectToSourceOracleSyncTaskInputArgs(ConnectToSourceOracleSyncTaskInputArgs $) {
        this.sourceConnectionInfo = $.sourceConnectionInfo;
    }

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

    public static final class Builder {
        private ConnectToSourceOracleSyncTaskInputArgs $;

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

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

        /**
         * @param sourceConnectionInfo Information for connecting to Oracle source
         * 
         * @return builder
         * 
         */
        public Builder sourceConnectionInfo(Output sourceConnectionInfo) {
            $.sourceConnectionInfo = sourceConnectionInfo;
            return this;
        }

        /**
         * @param sourceConnectionInfo Information for connecting to Oracle source
         * 
         * @return builder
         * 
         */
        public Builder sourceConnectionInfo(OracleConnectionInfoArgs sourceConnectionInfo) {
            return sourceConnectionInfo(Output.of(sourceConnectionInfo));
        }

        public ConnectToSourceOracleSyncTaskInputArgs build() {
            if ($.sourceConnectionInfo == null) {
                throw new MissingRequiredPropertyException("ConnectToSourceOracleSyncTaskInputArgs", "sourceConnectionInfo");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy