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

com.pulumi.azurenative.dbforpostgresql.inputs.StorageArgs 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.dbforpostgresql.inputs;

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


/**
 * Storage properties of a server
 * 
 */
public final class StorageArgs extends com.pulumi.resources.ResourceArgs {

    public static final StorageArgs Empty = new StorageArgs();

    /**
     * Max storage allowed for a server.
     * 
     */
    @Import(name="storageSizeGB")
    private @Nullable Output storageSizeGB;

    /**
     * @return Max storage allowed for a server.
     * 
     */
    public Optional> storageSizeGB() {
        return Optional.ofNullable(this.storageSizeGB);
    }

    private StorageArgs() {}

    private StorageArgs(StorageArgs $) {
        this.storageSizeGB = $.storageSizeGB;
    }

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

    public static final class Builder {
        private StorageArgs $;

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

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

        /**
         * @param storageSizeGB Max storage allowed for a server.
         * 
         * @return builder
         * 
         */
        public Builder storageSizeGB(@Nullable Output storageSizeGB) {
            $.storageSizeGB = storageSizeGB;
            return this;
        }

        /**
         * @param storageSizeGB Max storage allowed for a server.
         * 
         * @return builder
         * 
         */
        public Builder storageSizeGB(Integer storageSizeGB) {
            return storageSizeGB(Output.of(storageSizeGB));
        }

        public StorageArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy