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

com.pulumi.azurenative.datamigration.inputs.MigrateSqlServerSqlDbSyncDatabaseInputArgs 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.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Database specific information for SQL to Azure SQL DB sync migration task inputs
 * 
 */
public final class MigrateSqlServerSqlDbSyncDatabaseInputArgs extends com.pulumi.resources.ResourceArgs {

    public static final MigrateSqlServerSqlDbSyncDatabaseInputArgs Empty = new MigrateSqlServerSqlDbSyncDatabaseInputArgs();

    /**
     * Unique identifier for database
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return Unique identifier for database
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * Migration settings which tune the migration behavior
     * 
     */
    @Import(name="migrationSetting")
    private @Nullable Output> migrationSetting;

    /**
     * @return Migration settings which tune the migration behavior
     * 
     */
    public Optional>> migrationSetting() {
        return Optional.ofNullable(this.migrationSetting);
    }

    /**
     * Name of database
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of database
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Schema name to be migrated
     * 
     */
    @Import(name="schemaName")
    private @Nullable Output schemaName;

    /**
     * @return Schema name to be migrated
     * 
     */
    public Optional> schemaName() {
        return Optional.ofNullable(this.schemaName);
    }

    /**
     * Source settings to tune source endpoint migration behavior
     * 
     */
    @Import(name="sourceSetting")
    private @Nullable Output> sourceSetting;

    /**
     * @return Source settings to tune source endpoint migration behavior
     * 
     */
    public Optional>> sourceSetting() {
        return Optional.ofNullable(this.sourceSetting);
    }

    /**
     * Mapping of source to target tables
     * 
     */
    @Import(name="tableMap")
    private @Nullable Output> tableMap;

    /**
     * @return Mapping of source to target tables
     * 
     */
    public Optional>> tableMap() {
        return Optional.ofNullable(this.tableMap);
    }

    /**
     * Target database name
     * 
     */
    @Import(name="targetDatabaseName")
    private @Nullable Output targetDatabaseName;

    /**
     * @return Target database name
     * 
     */
    public Optional> targetDatabaseName() {
        return Optional.ofNullable(this.targetDatabaseName);
    }

    /**
     * Target settings to tune target endpoint migration behavior
     * 
     */
    @Import(name="targetSetting")
    private @Nullable Output> targetSetting;

    /**
     * @return Target settings to tune target endpoint migration behavior
     * 
     */
    public Optional>> targetSetting() {
        return Optional.ofNullable(this.targetSetting);
    }

    private MigrateSqlServerSqlDbSyncDatabaseInputArgs() {}

    private MigrateSqlServerSqlDbSyncDatabaseInputArgs(MigrateSqlServerSqlDbSyncDatabaseInputArgs $) {
        this.id = $.id;
        this.migrationSetting = $.migrationSetting;
        this.name = $.name;
        this.schemaName = $.schemaName;
        this.sourceSetting = $.sourceSetting;
        this.tableMap = $.tableMap;
        this.targetDatabaseName = $.targetDatabaseName;
        this.targetSetting = $.targetSetting;
    }

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

    public static final class Builder {
        private MigrateSqlServerSqlDbSyncDatabaseInputArgs $;

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

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

        /**
         * @param id Unique identifier for database
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id Unique identifier for database
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param migrationSetting Migration settings which tune the migration behavior
         * 
         * @return builder
         * 
         */
        public Builder migrationSetting(@Nullable Output> migrationSetting) {
            $.migrationSetting = migrationSetting;
            return this;
        }

        /**
         * @param migrationSetting Migration settings which tune the migration behavior
         * 
         * @return builder
         * 
         */
        public Builder migrationSetting(Map migrationSetting) {
            return migrationSetting(Output.of(migrationSetting));
        }

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

        /**
         * @param name Name of database
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param schemaName Schema name to be migrated
         * 
         * @return builder
         * 
         */
        public Builder schemaName(@Nullable Output schemaName) {
            $.schemaName = schemaName;
            return this;
        }

        /**
         * @param schemaName Schema name to be migrated
         * 
         * @return builder
         * 
         */
        public Builder schemaName(String schemaName) {
            return schemaName(Output.of(schemaName));
        }

        /**
         * @param sourceSetting Source settings to tune source endpoint migration behavior
         * 
         * @return builder
         * 
         */
        public Builder sourceSetting(@Nullable Output> sourceSetting) {
            $.sourceSetting = sourceSetting;
            return this;
        }

        /**
         * @param sourceSetting Source settings to tune source endpoint migration behavior
         * 
         * @return builder
         * 
         */
        public Builder sourceSetting(Map sourceSetting) {
            return sourceSetting(Output.of(sourceSetting));
        }

        /**
         * @param tableMap Mapping of source to target tables
         * 
         * @return builder
         * 
         */
        public Builder tableMap(@Nullable Output> tableMap) {
            $.tableMap = tableMap;
            return this;
        }

        /**
         * @param tableMap Mapping of source to target tables
         * 
         * @return builder
         * 
         */
        public Builder tableMap(Map tableMap) {
            return tableMap(Output.of(tableMap));
        }

        /**
         * @param targetDatabaseName Target database name
         * 
         * @return builder
         * 
         */
        public Builder targetDatabaseName(@Nullable Output targetDatabaseName) {
            $.targetDatabaseName = targetDatabaseName;
            return this;
        }

        /**
         * @param targetDatabaseName Target database name
         * 
         * @return builder
         * 
         */
        public Builder targetDatabaseName(String targetDatabaseName) {
            return targetDatabaseName(Output.of(targetDatabaseName));
        }

        /**
         * @param targetSetting Target settings to tune target endpoint migration behavior
         * 
         * @return builder
         * 
         */
        public Builder targetSetting(@Nullable Output> targetSetting) {
            $.targetSetting = targetSetting;
            return this;
        }

        /**
         * @param targetSetting Target settings to tune target endpoint migration behavior
         * 
         * @return builder
         * 
         */
        public Builder targetSetting(Map targetSetting) {
            return targetSetting(Output.of(targetSetting));
        }

        public MigrateSqlServerSqlDbSyncDatabaseInputArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy