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

com.pulumi.azurenative.azurelargeinstance.inputs.StorageProfileArgs 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.azurenative.azurelargeinstance.inputs;

import com.pulumi.azurenative.azurelargeinstance.inputs.DiskArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Specifies the storage settings for the Azure Large Instance disks.
 * 
 */
public final class StorageProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final StorageProfileArgs Empty = new StorageProfileArgs();

    /**
     * IP Address to connect to storage.
     * 
     */
    @Import(name="nfsIpAddress")
    private @Nullable Output nfsIpAddress;

    /**
     * @return IP Address to connect to storage.
     * 
     */
    public Optional> nfsIpAddress() {
        return Optional.ofNullable(this.nfsIpAddress);
    }

    /**
     * Specifies information about the operating system disk used by Azure Large
     * Instance.
     * 
     */
    @Import(name="osDisks")
    private @Nullable Output> osDisks;

    /**
     * @return Specifies information about the operating system disk used by Azure Large
     * Instance.
     * 
     */
    public Optional>> osDisks() {
        return Optional.ofNullable(this.osDisks);
    }

    private StorageProfileArgs() {}

    private StorageProfileArgs(StorageProfileArgs $) {
        this.nfsIpAddress = $.nfsIpAddress;
        this.osDisks = $.osDisks;
    }

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

    public static final class Builder {
        private StorageProfileArgs $;

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

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

        /**
         * @param nfsIpAddress IP Address to connect to storage.
         * 
         * @return builder
         * 
         */
        public Builder nfsIpAddress(@Nullable Output nfsIpAddress) {
            $.nfsIpAddress = nfsIpAddress;
            return this;
        }

        /**
         * @param nfsIpAddress IP Address to connect to storage.
         * 
         * @return builder
         * 
         */
        public Builder nfsIpAddress(String nfsIpAddress) {
            return nfsIpAddress(Output.of(nfsIpAddress));
        }

        /**
         * @param osDisks Specifies information about the operating system disk used by Azure Large
         * Instance.
         * 
         * @return builder
         * 
         */
        public Builder osDisks(@Nullable Output> osDisks) {
            $.osDisks = osDisks;
            return this;
        }

        /**
         * @param osDisks Specifies information about the operating system disk used by Azure Large
         * Instance.
         * 
         * @return builder
         * 
         */
        public Builder osDisks(List osDisks) {
            return osDisks(Output.of(osDisks));
        }

        /**
         * @param osDisks Specifies information about the operating system disk used by Azure Large
         * Instance.
         * 
         * @return builder
         * 
         */
        public Builder osDisks(DiskArgs... osDisks) {
            return osDisks(List.of(osDisks));
        }

        public StorageProfileArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy