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

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

There is a newer version: 2.82.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 GetReplicationProtectedItemPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetReplicationProtectedItemPlainArgs Empty = new GetReplicationProtectedItemPlainArgs();

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

    /**
     * @return Fabric unique 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 protected item name.
     * 
     */
    @Import(name="replicatedProtectedItemName", required=true)
    private String replicatedProtectedItemName;

    /**
     * @return Replication protected item name.
     * 
     */
    public String replicatedProtectedItemName() {
        return this.replicatedProtectedItemName;
    }

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

    private GetReplicationProtectedItemPlainArgs(GetReplicationProtectedItemPlainArgs $) {
        this.fabricName = $.fabricName;
        this.protectionContainerName = $.protectionContainerName;
        this.replicatedProtectedItemName = $.replicatedProtectedItemName;
        this.resourceGroupName = $.resourceGroupName;
        this.resourceName = $.resourceName;
    }

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

    public static final class Builder {
        private GetReplicationProtectedItemPlainArgs $;

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

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

        /**
         * @param fabricName Fabric unique 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 replicatedProtectedItemName Replication protected item name.
         * 
         * @return builder
         * 
         */
        public Builder replicatedProtectedItemName(String replicatedProtectedItemName) {
            $.replicatedProtectedItemName = replicatedProtectedItemName;
            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 GetReplicationProtectedItemPlainArgs build() {
            if ($.fabricName == null) {
                throw new MissingRequiredPropertyException("GetReplicationProtectedItemPlainArgs", "fabricName");
            }
            if ($.protectionContainerName == null) {
                throw new MissingRequiredPropertyException("GetReplicationProtectedItemPlainArgs", "protectionContainerName");
            }
            if ($.replicatedProtectedItemName == null) {
                throw new MissingRequiredPropertyException("GetReplicationProtectedItemPlainArgs", "replicatedProtectedItemName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetReplicationProtectedItemPlainArgs", "resourceGroupName");
            }
            if ($.resourceName == null) {
                throw new MissingRequiredPropertyException("GetReplicationProtectedItemPlainArgs", "resourceName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy