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

com.pulumi.azurenative.recoveryservices.inputs.GetReplicationProtectionClusterPlainArgs 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.recoveryservices.inputs;

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


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

    public static final GetReplicationProtectionClusterPlainArgs Empty = new GetReplicationProtectionClusterPlainArgs();

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

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

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

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

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

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

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

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

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

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

    private GetReplicationProtectionClusterPlainArgs() {}

    private GetReplicationProtectionClusterPlainArgs(GetReplicationProtectionClusterPlainArgs $) {
        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(GetReplicationProtectionClusterPlainArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private GetReplicationProtectionClusterPlainArgs $;

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

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

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

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

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

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy