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

package com.azure.resourcemanager.providerhub.models;

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

/** The ExtendedLocationOptions model. */
@Fluent
public final class ExtendedLocationOptions {
    /*
     * The type property.
     */
    @JsonProperty(value = "type")
    private String type;

    /*
     * The supportedPolicy property.
     */
    @JsonProperty(value = "supportedPolicy")
    private String supportedPolicy;

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

    /**
     * Get the type property: The type property.
     *
     * @return the type value.
     */
    public String type() {
        return this.type;
    }

    /**
     * Set the type property: The type property.
     *
     * @param type the type value to set.
     * @return the ExtendedLocationOptions object itself.
     */
    public ExtendedLocationOptions withType(String type) {
        this.type = type;
        return this;
    }

    /**
     * Get the supportedPolicy property: The supportedPolicy property.
     *
     * @return the supportedPolicy value.
     */
    public String supportedPolicy() {
        return this.supportedPolicy;
    }

    /**
     * Set the supportedPolicy property: The supportedPolicy property.
     *
     * @param supportedPolicy the supportedPolicy value to set.
     * @return the ExtendedLocationOptions object itself.
     */
    public ExtendedLocationOptions withSupportedPolicy(String supportedPolicy) {
        this.supportedPolicy = supportedPolicy;
        return this;
    }

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