com.azure.communication.jobrouter.models.StaticQueueSelectorAttachment Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-communication-jobrouter Show documentation
Show all versions of azure-communication-jobrouter Show documentation
This package contains a Java SDK for JobRouter Azure Communication Service.
The newest version!
// 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.Generated;
import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
/** Describes a queue selector that will be attached to the job. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "kind")
@JsonTypeName("static")
@Immutable
public final class StaticQueueSelectorAttachment extends QueueSelectorAttachment {
/*
* Describes a condition that must be met against a set of labels for queue
* selection
*/
@Generated
@JsonProperty(value = "queueSelector")
private RouterQueueSelector queueSelector;
/**
* Creates an instance of StaticQueueSelectorAttachment class.
*
* @param queueSelector the queueSelector value to set.
*/
@Generated
@JsonCreator
public StaticQueueSelectorAttachment(@JsonProperty(value = "queueSelector") RouterQueueSelector queueSelector) {
this.queueSelector = queueSelector;
}
/**
* Get the queueSelector property: Describes a condition that must be met against a set of labels for queue
* selection.
*
* @return the queueSelector value.
*/
@Generated
public RouterQueueSelector getQueueSelector() {
return this.queueSelector;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy