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

com.pulumi.azurenative.datareplication.ReplicationExtensionArgs 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.datareplication;

import com.pulumi.azurenative.datareplication.inputs.ReplicationExtensionModelPropertiesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ReplicationExtensionArgs Empty = new ReplicationExtensionArgs();

    /**
     * Replication extension model properties.
     * 
     */
    @Import(name="properties", required=true)
    private Output properties;

    /**
     * @return Replication extension model properties.
     * 
     */
    public Output properties() {
        return this.properties;
    }

    /**
     * The replication extension name.
     * 
     */
    @Import(name="replicationExtensionName")
    private @Nullable Output replicationExtensionName;

    /**
     * @return The replication extension name.
     * 
     */
    public Optional> replicationExtensionName() {
        return Optional.ofNullable(this.replicationExtensionName);
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The vault name.
     * 
     */
    @Import(name="vaultName", required=true)
    private Output vaultName;

    /**
     * @return The vault name.
     * 
     */
    public Output vaultName() {
        return this.vaultName;
    }

    private ReplicationExtensionArgs() {}

    private ReplicationExtensionArgs(ReplicationExtensionArgs $) {
        this.properties = $.properties;
        this.replicationExtensionName = $.replicationExtensionName;
        this.resourceGroupName = $.resourceGroupName;
        this.vaultName = $.vaultName;
    }

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

    public static final class Builder {
        private ReplicationExtensionArgs $;

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

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

        /**
         * @param properties Replication extension model properties.
         * 
         * @return builder
         * 
         */
        public Builder properties(Output properties) {
            $.properties = properties;
            return this;
        }

        /**
         * @param properties Replication extension model properties.
         * 
         * @return builder
         * 
         */
        public Builder properties(ReplicationExtensionModelPropertiesArgs properties) {
            return properties(Output.of(properties));
        }

        /**
         * @param replicationExtensionName The replication extension name.
         * 
         * @return builder
         * 
         */
        public Builder replicationExtensionName(@Nullable Output replicationExtensionName) {
            $.replicationExtensionName = replicationExtensionName;
            return this;
        }

        /**
         * @param replicationExtensionName The replication extension name.
         * 
         * @return builder
         * 
         */
        public Builder replicationExtensionName(String replicationExtensionName) {
            return replicationExtensionName(Output.of(replicationExtensionName));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param vaultName The vault name.
         * 
         * @return builder
         * 
         */
        public Builder vaultName(Output vaultName) {
            $.vaultName = vaultName;
            return this;
        }

        /**
         * @param vaultName The vault name.
         * 
         * @return builder
         * 
         */
        public Builder vaultName(String vaultName) {
            return vaultName(Output.of(vaultName));
        }

        public ReplicationExtensionArgs build() {
            if ($.properties == null) {
                throw new MissingRequiredPropertyException("ReplicationExtensionArgs", "properties");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("ReplicationExtensionArgs", "resourceGroupName");
            }
            if ($.vaultName == null) {
                throw new MissingRequiredPropertyException("ReplicationExtensionArgs", "vaultName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy