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

package com.azure.resourcemanager.databox.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/** Request body to get the availability for scheduling data box orders orders. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "skuName")
@JsonTypeName("DataBox")
@Fluent
public final class DataBoxScheduleAvailabilityRequest extends ScheduleAvailabilityRequest {
    /** Creates an instance of DataBoxScheduleAvailabilityRequest class. */
    public DataBoxScheduleAvailabilityRequest() {
    }

    /** {@inheritDoc} */
    @Override
    public DataBoxScheduleAvailabilityRequest withStorageLocation(String storageLocation) {
        super.withStorageLocation(storageLocation);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public DataBoxScheduleAvailabilityRequest withCountry(String country) {
        super.withCountry(country);
        return this;
    }

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