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

com.pulumi.azurenative.recoveryservices.inputs.GetReplicationProtectionContainerMappingArgs 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.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final GetReplicationProtectionContainerMappingArgs Empty = new GetReplicationProtectionContainerMappingArgs();

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

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

    /**
     * Protection Container mapping name.
     * 
     */
    @Import(name="mappingName", required=true)
    private Output mappingName;

    /**
     * @return Protection Container mapping name.
     * 
     */
    public Output mappingName() {
        return this.mappingName;
    }

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

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

    /**
     * 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 GetReplicationProtectionContainerMappingArgs() {}

    private GetReplicationProtectionContainerMappingArgs(GetReplicationProtectionContainerMappingArgs $) {
        this.fabricName = $.fabricName;
        this.mappingName = $.mappingName;
        this.protectionContainerName = $.protectionContainerName;
        this.resourceGroupName = $.resourceGroupName;
        this.resourceName = $.resourceName;
    }

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

    public static final class Builder {
        private GetReplicationProtectionContainerMappingArgs $;

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

        public Builder(GetReplicationProtectionContainerMappingArgs defaults) {
            $ = new GetReplicationProtectionContainerMappingArgs(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 mappingName Protection Container mapping name.
         * 
         * @return builder
         * 
         */
        public Builder mappingName(Output mappingName) {
            $.mappingName = mappingName;
            return this;
        }

        /**
         * @param mappingName Protection Container mapping name.
         * 
         * @return builder
         * 
         */
        public Builder mappingName(String mappingName) {
            return mappingName(Output.of(mappingName));
        }

        /**
         * @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 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 GetReplicationProtectionContainerMappingArgs build() {
            if ($.fabricName == null) {
                throw new MissingRequiredPropertyException("GetReplicationProtectionContainerMappingArgs", "fabricName");
            }
            if ($.mappingName == null) {
                throw new MissingRequiredPropertyException("GetReplicationProtectionContainerMappingArgs", "mappingName");
            }
            if ($.protectionContainerName == null) {
                throw new MissingRequiredPropertyException("GetReplicationProtectionContainerMappingArgs", "protectionContainerName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetReplicationProtectionContainerMappingArgs", "resourceGroupName");
            }
            if ($.resourceName == null) {
                throw new MissingRequiredPropertyException("GetReplicationProtectionContainerMappingArgs", "resourceName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy