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

com.pulumi.azurenative.datamigration.ServiceTaskArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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;

import com.pulumi.azurenative.datamigration.inputs.ConnectToMongoDbTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.ConnectToSourceMySqlTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.ConnectToSourceOracleSyncTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.ConnectToSourcePostgreSqlSyncTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.ConnectToSourceSqlServerSyncTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.ConnectToSourceSqlServerTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.ConnectToTargetAzureDbForMySqlTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.ConnectToTargetAzureDbForPostgreSqlSyncTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.ConnectToTargetSqlDbTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.ConnectToTargetSqlMISyncTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.ConnectToTargetSqlMITaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.ConnectToTargetSqlSqlDbSyncTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.GetTdeCertificatesSqlTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.GetUserTablesMySqlTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.GetUserTablesOracleTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.GetUserTablesPostgreSqlTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.GetUserTablesSqlSyncTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.GetUserTablesSqlTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.MigrateMongoDbTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.MigrateMySqlAzureDbForMySqlOfflineTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.MigrateMySqlAzureDbForMySqlSyncTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.MigrateOracleAzureDbForPostgreSqlSyncTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.MigratePostgreSqlAzureDbForPostgreSqlSyncTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.MigrateSqlServerSqlDbSyncTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.MigrateSqlServerSqlDbTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.MigrateSqlServerSqlMISyncTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.MigrateSqlServerSqlMITaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.MigrateSsisTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.ValidateMigrationInputSqlServerSqlDbSyncTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.ValidateMigrationInputSqlServerSqlMISyncTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.ValidateMigrationInputSqlServerSqlMITaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.ValidateMongoDbTaskPropertiesArgs;
import com.pulumi.azurenative.datamigration.inputs.ValidateOracleAzureDbForPostgreSqlSyncTaskPropertiesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Object;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ServiceTaskArgs Empty = new ServiceTaskArgs();

    /**
     * Name of the resource group
     * 
     */
    @Import(name="groupName", required=true)
    private Output groupName;

    /**
     * @return Name of the resource group
     * 
     */
    public Output groupName() {
        return this.groupName;
    }

    /**
     * Custom task properties
     * 
     */
    @Import(name="properties")
    private @Nullable Output properties;

    /**
     * @return Custom task properties
     * 
     */
    public Optional> properties() {
        return Optional.ofNullable(this.properties);
    }

    /**
     * Name of the service
     * 
     */
    @Import(name="serviceName", required=true)
    private Output serviceName;

    /**
     * @return Name of the service
     * 
     */
    public Output serviceName() {
        return this.serviceName;
    }

    /**
     * Name of the Task
     * 
     */
    @Import(name="taskName")
    private @Nullable Output taskName;

    /**
     * @return Name of the Task
     * 
     */
    public Optional> taskName() {
        return Optional.ofNullable(this.taskName);
    }

    private ServiceTaskArgs() {}

    private ServiceTaskArgs(ServiceTaskArgs $) {
        this.groupName = $.groupName;
        this.properties = $.properties;
        this.serviceName = $.serviceName;
        this.taskName = $.taskName;
    }

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

    public static final class Builder {
        private ServiceTaskArgs $;

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

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

        /**
         * @param groupName Name of the resource group
         * 
         * @return builder
         * 
         */
        public Builder groupName(Output groupName) {
            $.groupName = groupName;
            return this;
        }

        /**
         * @param groupName Name of the resource group
         * 
         * @return builder
         * 
         */
        public Builder groupName(String groupName) {
            return groupName(Output.of(groupName));
        }

        /**
         * @param properties Custom task properties
         * 
         * @return builder
         * 
         */
        public Builder properties(@Nullable Output properties) {
            $.properties = properties;
            return this;
        }

        /**
         * @param properties Custom task properties
         * 
         * @return builder
         * 
         */
        public Builder properties(Object properties) {
            return properties(Output.of(properties));
        }

        /**
         * @param serviceName Name of the service
         * 
         * @return builder
         * 
         */
        public Builder serviceName(Output serviceName) {
            $.serviceName = serviceName;
            return this;
        }

        /**
         * @param serviceName Name of the service
         * 
         * @return builder
         * 
         */
        public Builder serviceName(String serviceName) {
            return serviceName(Output.of(serviceName));
        }

        /**
         * @param taskName Name of the Task
         * 
         * @return builder
         * 
         */
        public Builder taskName(@Nullable Output taskName) {
            $.taskName = taskName;
            return this;
        }

        /**
         * @param taskName Name of the Task
         * 
         * @return builder
         * 
         */
        public Builder taskName(String taskName) {
            return taskName(Output.of(taskName));
        }

        public ServiceTaskArgs build() {
            if ($.groupName == null) {
                throw new MissingRequiredPropertyException("ServiceTaskArgs", "groupName");
            }
            if ($.serviceName == null) {
                throw new MissingRequiredPropertyException("ServiceTaskArgs", "serviceName");
            }
            return $;
        }
    }

}