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

com.pulumi.azurenative.containerstorage.inputs.RequestsArgs 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.containerstorage.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import java.lang.Double;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Requests for capacity for the pool.
 * 
 */
public final class RequestsArgs extends com.pulumi.resources.ResourceArgs {

    public static final RequestsArgs Empty = new RequestsArgs();

    /**
     * Requested capacity of the pool in GiB.
     * 
     */
    @Import(name="storage")
    private @Nullable Output storage;

    /**
     * @return Requested capacity of the pool in GiB.
     * 
     */
    public Optional> storage() {
        return Optional.ofNullable(this.storage);
    }

    private RequestsArgs() {}

    private RequestsArgs(RequestsArgs $) {
        this.storage = $.storage;
    }

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

    public static final class Builder {
        private RequestsArgs $;

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

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

        /**
         * @param storage Requested capacity of the pool in GiB.
         * 
         * @return builder
         * 
         */
        public Builder storage(@Nullable Output storage) {
            $.storage = storage;
            return this;
        }

        /**
         * @param storage Requested capacity of the pool in GiB.
         * 
         * @return builder
         * 
         */
        public Builder storage(Double storage) {
            return storage(Output.of(storage));
        }

        public RequestsArgs build() {
            $.storage = Codegen.doubleProp("storage").output().arg($.storage).def(1.024e+03).getNullable();
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy