All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.communication.jobrouter.implementation.models.LongestIdleModeInternal Maven / Gradle / Ivy

The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.communication.jobrouter.implementation.models;

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

/**
 * Jobs are directed to the worker who has been idle longest.
 */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "kind")
@JsonTypeName("longestIdle")
@Fluent
public final class LongestIdleModeInternal extends DistributionModeInternal {

    /**
     * Creates an instance of LongestIdleModeInternal class.
     */
    @Generated
    public LongestIdleModeInternal() {
    }

    /**
     * {@inheritDoc}
     */
    @Generated
    @Override
    public LongestIdleModeInternal setMinConcurrentOffers(Integer minConcurrentOffers) {
        super.setMinConcurrentOffers(minConcurrentOffers);
        return this;
    }

    /**
     * {@inheritDoc}
     */
    @Generated
    @Override
    public LongestIdleModeInternal setMaxConcurrentOffers(Integer maxConcurrentOffers) {
        super.setMaxConcurrentOffers(maxConcurrentOffers);
        return this;
    }

    /**
     * {@inheritDoc}
     */
    @Generated
    @Override
    public LongestIdleModeInternal setBypassSelectors(Boolean bypassSelectors) {
        super.setBypassSelectors(bypassSelectors);
        return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy