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

com.pulumi.azurenative.netapp.inputs.GetBackupPlainArgs Maven / Gradle / Ivy

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

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


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

    public static final GetBackupPlainArgs Empty = new GetBackupPlainArgs();

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

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

    /**
     * The name of the backup
     * 
     */
    @Import(name="backupName", required=true)
    private String backupName;

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

    /**
     * The name of the capacity pool
     * 
     */
    @Import(name="poolName", required=true)
    private String poolName;

    /**
     * @return The name of the capacity pool
     * 
     */
    public String poolName() {
        return this.poolName;
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The name of the volume
     * 
     */
    @Import(name="volumeName", required=true)
    private String volumeName;

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

    private GetBackupPlainArgs() {}

    private GetBackupPlainArgs(GetBackupPlainArgs $) {
        this.accountName = $.accountName;
        this.backupName = $.backupName;
        this.poolName = $.poolName;
        this.resourceGroupName = $.resourceGroupName;
        this.volumeName = $.volumeName;
    }

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

    public static final class Builder {
        private GetBackupPlainArgs $;

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

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

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

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

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

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy