// *** 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.aws.fsx.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;


public final class OpenZfsFileSystemRootVolumeConfigurationUserAndGroupQuotaArgs extends com.pulumi.resources.ResourceArgs {

    public static final OpenZfsFileSystemRootVolumeConfigurationUserAndGroupQuotaArgs Empty = new OpenZfsFileSystemRootVolumeConfigurationUserAndGroupQuotaArgs();

    /**
     * The ID of the user or group. Valid values between `0` and `2147483647`
     * 
     */
    @Import(name="id", required=true)
    private Output<Integer> id;

    /**
     * @return The ID of the user or group. Valid values between `0` and `2147483647`
     * 
     */
    public Output<Integer> id() {
        return this.id;
    }

    /**
     * The amount of storage that the user or group can use in gibibytes (GiB). Valid values between `0` and `2147483647`
     * 
     */
    @Import(name="storageCapacityQuotaGib", required=true)
    private Output<Integer> storageCapacityQuotaGib;

    /**
     * @return The amount of storage that the user or group can use in gibibytes (GiB). Valid values between `0` and `2147483647`
     * 
     */
    public Output<Integer> storageCapacityQuotaGib() {
        return this.storageCapacityQuotaGib;
    }

    /**
     * A value that specifies whether the quota applies to a user or group. Valid values are `USER` or `GROUP`.
     * 
     */
    @Import(name="type", required=true)
    private Output<String> type;

    /**
     * @return A value that specifies whether the quota applies to a user or group. Valid values are `USER` or `GROUP`.
     * 
     */
    public Output<String> type() {
        return this.type;
    }

    private OpenZfsFileSystemRootVolumeConfigurationUserAndGroupQuotaArgs() {}

    private OpenZfsFileSystemRootVolumeConfigurationUserAndGroupQuotaArgs(OpenZfsFileSystemRootVolumeConfigurationUserAndGroupQuotaArgs $) {
        this.id = $.id;
        this.storageCapacityQuotaGib = $.storageCapacityQuotaGib;
        this.type = $.type;
    }

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

    public static final class Builder {
        private OpenZfsFileSystemRootVolumeConfigurationUserAndGroupQuotaArgs $;

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

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

        /**
         * @param id The ID of the user or group. Valid values between `0` and `2147483647`
         * 
         * @return builder
         * 
         */
        public Builder id(Output<Integer> id) {
            $.id = id;
            return this;
        }

        /**
         * @param id The ID of the user or group. Valid values between `0` and `2147483647`
         * 
         * @return builder
         * 
         */
        public Builder id(Integer id) {
            return id(Output.of(id));
        }

        /**
         * @param storageCapacityQuotaGib The amount of storage that the user or group can use in gibibytes (GiB). Valid values between `0` and `2147483647`
         * 
         * @return builder
         * 
         */
        public Builder storageCapacityQuotaGib(Output<Integer> storageCapacityQuotaGib) {
            $.storageCapacityQuotaGib = storageCapacityQuotaGib;
            return this;
        }

        /**
         * @param storageCapacityQuotaGib The amount of storage that the user or group can use in gibibytes (GiB). Valid values between `0` and `2147483647`
         * 
         * @return builder
         * 
         */
        public Builder storageCapacityQuotaGib(Integer storageCapacityQuotaGib) {
            return storageCapacityQuotaGib(Output.of(storageCapacityQuotaGib));
        }

        /**
         * @param type A value that specifies whether the quota applies to a user or group. Valid values are `USER` or `GROUP`.
         * 
         * @return builder
         * 
         */
        public Builder type(Output<String> type) {
            $.type = type;
            return this;
        }

        /**
         * @param type A value that specifies whether the quota applies to a user or group. Valid values are `USER` or `GROUP`.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public OpenZfsFileSystemRootVolumeConfigurationUserAndGroupQuotaArgs build() {
            $.id = Objects.requireNonNull($.id, "expected parameter 'id' to be non-null");
            $.storageCapacityQuotaGib = Objects.requireNonNull($.storageCapacityQuotaGib, "expected parameter 'storageCapacityQuotaGib' to be non-null");
            $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null");
            return $;
        }
    }

}
