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

package com.azure.communication.jobrouter.models;

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

/** Describes a queue selector that will always be attached. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "kind")
@JsonTypeName("static")
@Fluent
public final class StaticQueueSelector extends QueueSelectorAttachment {
    /*
     * Describes a condition that must be met against a set of labels for queue
     * selection
     */
    @JsonProperty(value = "queueSelector", required = true)
    private RouterQueueSelector queueSelector;

    /**
     * Get the queueSelector property: Describes a condition that must be met against a set of labels for queue
     * selection.
     *
     * @return the queueSelector value.
     */
    public RouterQueueSelector getQueueSelector() {
        return this.queueSelector;
    }

    /**
     * Set the queueSelector property: Describes a condition that must be met against a set of labels for queue
     * selection.
     *
     * @param queueSelector the queueSelector value to set.
     * @return the StaticQueueSelector object itself.
     */
    public StaticQueueSelector setQueueSelector(RouterQueueSelector queueSelector) {
        this.queueSelector = queueSelector;
        return this;
    }
}
