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

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

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.azurenative.datamigration.inputs;

import com.pulumi.azurenative.datamigration.inputs.MigrateMySqlAzureDbForMySqlSyncTaskInputArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Properties for the task that migrates MySQL databases to Azure Database for MySQL for online migrations
 * 
 */
public final class MigrateMySqlAzureDbForMySqlSyncTaskPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final MigrateMySqlAzureDbForMySqlSyncTaskPropertiesArgs Empty = new MigrateMySqlAzureDbForMySqlSyncTaskPropertiesArgs();

    /**
     * Key value pairs of client data to attach meta data information to task
     * 
     */
    @Import(name="clientData")
    private @Nullable Output> clientData;

    /**
     * @return Key value pairs of client data to attach meta data information to task
     * 
     */
    public Optional>> clientData() {
        return Optional.ofNullable(this.clientData);
    }

    /**
     * Task input
     * 
     */
    @Import(name="input")
    private @Nullable Output input;

    /**
     * @return Task input
     * 
     */
    public Optional> input() {
        return Optional.ofNullable(this.input);
    }

    /**
     * Task type.
     * Expected value is 'Migrate.MySql.AzureDbForMySql.Sync'.
     * 
     */
    @Import(name="taskType", required=true)
    private Output taskType;

    /**
     * @return Task type.
     * Expected value is 'Migrate.MySql.AzureDbForMySql.Sync'.
     * 
     */
    public Output taskType() {
        return this.taskType;
    }

    private MigrateMySqlAzureDbForMySqlSyncTaskPropertiesArgs() {}

    private MigrateMySqlAzureDbForMySqlSyncTaskPropertiesArgs(MigrateMySqlAzureDbForMySqlSyncTaskPropertiesArgs $) {
        this.clientData = $.clientData;
        this.input = $.input;
        this.taskType = $.taskType;
    }

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

    public static final class Builder {
        private MigrateMySqlAzureDbForMySqlSyncTaskPropertiesArgs $;

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

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

        /**
         * @param clientData Key value pairs of client data to attach meta data information to task
         * 
         * @return builder
         * 
         */
        public Builder clientData(@Nullable Output> clientData) {
            $.clientData = clientData;
            return this;
        }

        /**
         * @param clientData Key value pairs of client data to attach meta data information to task
         * 
         * @return builder
         * 
         */
        public Builder clientData(Map clientData) {
            return clientData(Output.of(clientData));
        }

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

        /**
         * @param input Task input
         * 
         * @return builder
         * 
         */
        public Builder input(MigrateMySqlAzureDbForMySqlSyncTaskInputArgs input) {
            return input(Output.of(input));
        }

        /**
         * @param taskType Task type.
         * Expected value is 'Migrate.MySql.AzureDbForMySql.Sync'.
         * 
         * @return builder
         * 
         */
        public Builder taskType(Output taskType) {
            $.taskType = taskType;
            return this;
        }

        /**
         * @param taskType Task type.
         * Expected value is 'Migrate.MySql.AzureDbForMySql.Sync'.
         * 
         * @return builder
         * 
         */
        public Builder taskType(String taskType) {
            return taskType(Output.of(taskType));
        }

        public MigrateMySqlAzureDbForMySqlSyncTaskPropertiesArgs build() {
            $.taskType = Codegen.stringProp("taskType").output().arg($.taskType).require();
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy