// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.peering.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** The properties that define a peering bandwidth offer. */
@Fluent
public final class PeeringBandwidthOffer {
    /*
     * The name of the bandwidth offer.
     */
    @JsonProperty(value = "offerName")
    private String offerName;

    /*
     * The value of the bandwidth offer in Mbps.
     */
    @JsonProperty(value = "valueInMbps")
    private Integer valueInMbps;

    /** Creates an instance of PeeringBandwidthOffer class. */
    public PeeringBandwidthOffer() {
    }

    /**
     * Get the offerName property: The name of the bandwidth offer.
     *
     * @return the offerName value.
     */
    public String offerName() {
        return this.offerName;
    }

    /**
     * Set the offerName property: The name of the bandwidth offer.
     *
     * @param offerName the offerName value to set.
     * @return the PeeringBandwidthOffer object itself.
     */
    public PeeringBandwidthOffer withOfferName(String offerName) {
        this.offerName = offerName;
        return this;
    }

    /**
     * Get the valueInMbps property: The value of the bandwidth offer in Mbps.
     *
     * @return the valueInMbps value.
     */
    public Integer valueInMbps() {
        return this.valueInMbps;
    }

    /**
     * Set the valueInMbps property: The value of the bandwidth offer in Mbps.
     *
     * @param valueInMbps the valueInMbps value to set.
     * @return the PeeringBandwidthOffer object itself.
     */
    public PeeringBandwidthOffer withValueInMbps(Integer valueInMbps) {
        this.valueInMbps = valueInMbps;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
