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

com.pulumi.azurenative.datamigration.inputs.MigratePostgreSqlAzureDbForPostgreSqlSyncTaskPropertiesArgs 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.MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInputArgs;
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 PostgreSQL databases to Azure Database for PostgreSQL for online migrations
 * 
 */
public final class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final MigratePostgreSqlAzureDbForPostgreSqlSyncTaskPropertiesArgs Empty = new MigratePostgreSqlAzureDbForPostgreSqlSyncTaskPropertiesArgs();

    /**
     * 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.PostgreSql.AzureDbForPostgreSql.SyncV2'.
     * 
     */
    @Import(name="taskType", required=true)
    private Output taskType;

    /**
     * @return Task type.
     * Expected value is 'Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2'.
     * 
     */
    public Output taskType() {
        return this.taskType;
    }

    private MigratePostgreSqlAzureDbForPostgreSqlSyncTaskPropertiesArgs() {}

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

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

    public static final class Builder {
        private MigratePostgreSqlAzureDbForPostgreSqlSyncTaskPropertiesArgs $;

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

        public Builder(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskPropertiesArgs defaults) {
            $ = new MigratePostgreSqlAzureDbForPostgreSqlSyncTaskPropertiesArgs(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(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInputArgs input) {
            return input(Output.of(input));
        }

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy