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

com.pulumi.azure.netapp.inputs.GetSnapshotPlainArgs Maven / Gradle / Ivy

// *** 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.azure.netapp.inputs;

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


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

    public static final GetSnapshotPlainArgs Empty = new GetSnapshotPlainArgs();

    /**
     * The name of the NetApp Account where the NetApp Pool exists.
     * 
     */
    @Import(name="accountName", required=true)
    private String accountName;

    /**
     * @return The name of the NetApp Account where the NetApp Pool exists.
     * 
     */
    public String accountName() {
        return this.accountName;
    }

    /**
     * The name of the NetApp Snapshot.
     * 
     */
    @Import(name="name", required=true)
    private String name;

    /**
     * @return The name of the NetApp Snapshot.
     * 
     */
    public String name() {
        return this.name;
    }

    /**
     * The name of the NetApp Pool where the NetApp Volume exists.
     * 
     */
    @Import(name="poolName", required=true)
    private String poolName;

    /**
     * @return The name of the NetApp Pool where the NetApp Volume exists.
     * 
     */
    public String poolName() {
        return this.poolName;
    }

    /**
     * The Name of the Resource Group where the NetApp Snapshot exists.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return The Name of the Resource Group where the NetApp Snapshot exists.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The name of the NetApp Volume where the NetApp Snapshot exists.
     * 
     */
    @Import(name="volumeName", required=true)
    private String volumeName;

    /**
     * @return The name of the NetApp Volume where the NetApp Snapshot exists.
     * 
     */
    public String volumeName() {
        return this.volumeName;
    }

    private GetSnapshotPlainArgs() {}

    private GetSnapshotPlainArgs(GetSnapshotPlainArgs $) {
        this.accountName = $.accountName;
        this.name = $.name;
        this.poolName = $.poolName;
        this.resourceGroupName = $.resourceGroupName;
        this.volumeName = $.volumeName;
    }

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

    public static final class Builder {
        private GetSnapshotPlainArgs $;

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

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

        /**
         * @param accountName The name of the NetApp Account where the NetApp Pool exists.
         * 
         * @return builder
         * 
         */
        public Builder accountName(String accountName) {
            $.accountName = accountName;
            return this;
        }

        /**
         * @param name The name of the NetApp Snapshot.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            $.name = name;
            return this;
        }

        /**
         * @param poolName The name of the NetApp Pool where the NetApp Volume exists.
         * 
         * @return builder
         * 
         */
        public Builder poolName(String poolName) {
            $.poolName = poolName;
            return this;
        }

        /**
         * @param resourceGroupName The Name of the Resource Group where the NetApp Snapshot exists.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param volumeName The name of the NetApp Volume where the NetApp Snapshot exists.
         * 
         * @return builder
         * 
         */
        public Builder volumeName(String volumeName) {
            $.volumeName = volumeName;
            return this;
        }

        public GetSnapshotPlainArgs build() {
            if ($.accountName == null) {
                throw new MissingRequiredPropertyException("GetSnapshotPlainArgs", "accountName");
            }
            if ($.name == null) {
                throw new MissingRequiredPropertyException("GetSnapshotPlainArgs", "name");
            }
            if ($.poolName == null) {
                throw new MissingRequiredPropertyException("GetSnapshotPlainArgs", "poolName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetSnapshotPlainArgs", "resourceGroupName");
            }
            if ($.volumeName == null) {
                throw new MissingRequiredPropertyException("GetSnapshotPlainArgs", "volumeName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy