// *** 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.gcp.bigtable.inputs;

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


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

    public static final GCPolicyMaxVersionArgs Empty = new GCPolicyMaxVersionArgs();

    /**
     * Number of version before applying the GC policy.
     * 
     * ***
     * `gc_rules` include 2 fields:
     * 
     */
    @Import(name="number", required=true)
    private Output<Integer> number;

    /**
     * @return Number of version before applying the GC policy.
     * 
     * ***
     * `gc_rules` include 2 fields:
     * 
     */
    public Output<Integer> number() {
        return this.number;
    }

    private GCPolicyMaxVersionArgs() {}

    private GCPolicyMaxVersionArgs(GCPolicyMaxVersionArgs $) {
        this.number = $.number;
    }

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

    public static final class Builder {
        private GCPolicyMaxVersionArgs $;

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

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

        /**
         * @param number Number of version before applying the GC policy.
         * 
         * ***
         * `gc_rules` include 2 fields:
         * 
         * @return builder
         * 
         */
        public Builder number(Output<Integer> number) {
            $.number = number;
            return this;
        }

        /**
         * @param number Number of version before applying the GC policy.
         * 
         * ***
         * `gc_rules` include 2 fields:
         * 
         * @return builder
         * 
         */
        public Builder number(Integer number) {
            return number(Output.of(number));
        }

        public GCPolicyMaxVersionArgs build() {
            $.number = Objects.requireNonNull($.number, "expected parameter 'number' to be non-null");
            return $;
        }
    }

}
