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

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


public final class GetReservedInstanceOfferingPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetReservedInstanceOfferingPlainArgs Empty = new GetReservedInstanceOfferingPlainArgs();

    /**
     * DB instance class for the reserved DB instance.
     * 
     */
    @Import(name="dbInstanceClass", required=true)
    private String dbInstanceClass;

    /**
     * @return DB instance class for the reserved DB instance.
     * 
     */
    public String dbInstanceClass() {
        return this.dbInstanceClass;
    }

    /**
     * Duration of the reservation in years or seconds. Valid values are `1`, `3`, `31536000`, `94608000`
     * 
     */
    @Import(name="duration", required=true)
    private Integer duration;

    /**
     * @return Duration of the reservation in years or seconds. Valid values are `1`, `3`, `31536000`, `94608000`
     * 
     */
    public Integer duration() {
        return this.duration;
    }

    /**
     * Whether the reservation applies to Multi-AZ deployments.
     * 
     */
    @Import(name="multiAz", required=true)
    private Boolean multiAz;

    /**
     * @return Whether the reservation applies to Multi-AZ deployments.
     * 
     */
    public Boolean multiAz() {
        return this.multiAz;
    }

    /**
     * Offering type of this reserved DB instance. Valid values are `No Upfront`, `Partial Upfront`, `All Upfront`.
     * 
     */
    @Import(name="offeringType", required=true)
    private String offeringType;

    /**
     * @return Offering type of this reserved DB instance. Valid values are `No Upfront`, `Partial Upfront`, `All Upfront`.
     * 
     */
    public String offeringType() {
        return this.offeringType;
    }

    /**
     * Description of the reserved DB instance.
     * 
     */
    @Import(name="productDescription", required=true)
    private String productDescription;

    /**
     * @return Description of the reserved DB instance.
     * 
     */
    public String productDescription() {
        return this.productDescription;
    }

    private GetReservedInstanceOfferingPlainArgs() {}

    private GetReservedInstanceOfferingPlainArgs(GetReservedInstanceOfferingPlainArgs $) {
        this.dbInstanceClass = $.dbInstanceClass;
        this.duration = $.duration;
        this.multiAz = $.multiAz;
        this.offeringType = $.offeringType;
        this.productDescription = $.productDescription;
    }

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

    public static final class Builder {
        private GetReservedInstanceOfferingPlainArgs $;

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

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

        /**
         * @param dbInstanceClass DB instance class for the reserved DB instance.
         * 
         * @return builder
         * 
         */
        public Builder dbInstanceClass(String dbInstanceClass) {
            $.dbInstanceClass = dbInstanceClass;
            return this;
        }

        /**
         * @param duration Duration of the reservation in years or seconds. Valid values are `1`, `3`, `31536000`, `94608000`
         * 
         * @return builder
         * 
         */
        public Builder duration(Integer duration) {
            $.duration = duration;
            return this;
        }

        /**
         * @param multiAz Whether the reservation applies to Multi-AZ deployments.
         * 
         * @return builder
         * 
         */
        public Builder multiAz(Boolean multiAz) {
            $.multiAz = multiAz;
            return this;
        }

        /**
         * @param offeringType Offering type of this reserved DB instance. Valid values are `No Upfront`, `Partial Upfront`, `All Upfront`.
         * 
         * @return builder
         * 
         */
        public Builder offeringType(String offeringType) {
            $.offeringType = offeringType;
            return this;
        }

        /**
         * @param productDescription Description of the reserved DB instance.
         * 
         * @return builder
         * 
         */
        public Builder productDescription(String productDescription) {
            $.productDescription = productDescription;
            return this;
        }

        public GetReservedInstanceOfferingPlainArgs build() {
            $.dbInstanceClass = Objects.requireNonNull($.dbInstanceClass, "expected parameter 'dbInstanceClass' to be non-null");
            $.duration = Objects.requireNonNull($.duration, "expected parameter 'duration' to be non-null");
            $.multiAz = Objects.requireNonNull($.multiAz, "expected parameter 'multiAz' to be non-null");
            $.offeringType = Objects.requireNonNull($.offeringType, "expected parameter 'offeringType' to be non-null");
            $.productDescription = Objects.requireNonNull($.productDescription, "expected parameter 'productDescription' to be non-null");
            return $;
        }
    }

}
