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

com.pulumi.azurenative.recoveryservices.inputs.GetReplicationProtectionClusterArgs Maven / Gradle / Ivy

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

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class GetReplicationProtectionClusterArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetReplicationProtectionClusterArgs Empty = new GetReplicationProtectionClusterArgs();

    /**
     * Fabric name.
     * 
     */
    @Import(name="fabricName", required=true)
    private Output fabricName;

    /**
     * @return Fabric name.
     * 
     */
    public Output fabricName() {
        return this.fabricName;
    }

    /**
     * Protection container name.
     * 
     */
    @Import(name="protectionContainerName", required=true)
    private Output protectionContainerName;

    /**
     * @return Protection container name.
     * 
     */
    public Output protectionContainerName() {
        return this.protectionContainerName;
    }

    /**
     * Replication protection cluster name.
     * 
     */
    @Import(name="replicationProtectionClusterName", required=true)
    private Output replicationProtectionClusterName;

    /**
     * @return Replication protection cluster name.
     * 
     */
    public Output replicationProtectionClusterName() {
        return this.replicationProtectionClusterName;
    }

    /**
     * The name of the resource group where the recovery services vault is present.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group where the recovery services vault is present.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The name of the recovery services vault.
     * 
     */
    @Import(name="resourceName", required=true)
    private Output resourceName;

    /**
     * @return The name of the recovery services vault.
     * 
     */
    public Output resourceName() {
        return this.resourceName;
    }

    private GetReplicationProtectionClusterArgs() {}

    private GetReplicationProtectionClusterArgs(GetReplicationProtectionClusterArgs $) {
        this.fabricName = $.fabricName;
        this.protectionContainerName = $.protectionContainerName;
        this.replicationProtectionClusterName = $.replicationProtectionClusterName;
        this.resourceGroupName = $.resourceGroupName;
        this.resourceName = $.resourceName;
    }

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

    public static final class Builder {
        private GetReplicationProtectionClusterArgs $;

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

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

        /**
         * @param fabricName Fabric name.
         * 
         * @return builder
         * 
         */
        public Builder fabricName(Output fabricName) {
            $.fabricName = fabricName;
            return this;
        }

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

        /**
         * @param protectionContainerName Protection container name.
         * 
         * @return builder
         * 
         */
        public Builder protectionContainerName(Output protectionContainerName) {
            $.protectionContainerName = protectionContainerName;
            return this;
        }

        /**
         * @param protectionContainerName Protection container name.
         * 
         * @return builder
         * 
         */
        public Builder protectionContainerName(String protectionContainerName) {
            return protectionContainerName(Output.of(protectionContainerName));
        }

        /**
         * @param replicationProtectionClusterName Replication protection cluster name.
         * 
         * @return builder
         * 
         */
        public Builder replicationProtectionClusterName(Output replicationProtectionClusterName) {
            $.replicationProtectionClusterName = replicationProtectionClusterName;
            return this;
        }

        /**
         * @param replicationProtectionClusterName Replication protection cluster name.
         * 
         * @return builder
         * 
         */
        public Builder replicationProtectionClusterName(String replicationProtectionClusterName) {
            return replicationProtectionClusterName(Output.of(replicationProtectionClusterName));
        }

        /**
         * @param resourceGroupName The name of the resource group where the recovery services vault is present.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group where the recovery services vault is present.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param resourceName The name of the recovery services vault.
         * 
         * @return builder
         * 
         */
        public Builder resourceName(Output resourceName) {
            $.resourceName = resourceName;
            return this;
        }

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

        public GetReplicationProtectionClusterArgs build() {
            if ($.fabricName == null) {
                throw new MissingRequiredPropertyException("GetReplicationProtectionClusterArgs", "fabricName");
            }
            if ($.protectionContainerName == null) {
                throw new MissingRequiredPropertyException("GetReplicationProtectionClusterArgs", "protectionContainerName");
            }
            if ($.replicationProtectionClusterName == null) {
                throw new MissingRequiredPropertyException("GetReplicationProtectionClusterArgs", "replicationProtectionClusterName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetReplicationProtectionClusterArgs", "resourceGroupName");
            }
            if ($.resourceName == null) {
                throw new MissingRequiredPropertyException("GetReplicationProtectionClusterArgs", "resourceName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy