com.azure.communication.jobrouter.implementation.models.StaticRouterRuleInternal 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) 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.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* A rule providing static rules that always return the same result, regardless of input.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "kind")
@JsonTypeName("static")
@Fluent
public final class StaticRouterRuleInternal extends RouterRuleInternal {
/*
* The static value this rule always returns. Values must be primitive values - number, string, boolean.
*/
@Generated
@JsonProperty(value = "value")
private Object value;
/**
* Creates an instance of StaticRouterRuleInternal class.
*/
@Generated
public StaticRouterRuleInternal() {
}
/**
* Get the value property: The static value this rule always returns. Values must be primitive values - number,
* string, boolean.
*
* @return the value value.
*/
@Generated
public Object getValue() {
return this.value;
}
/**
* Set the value property: The static value this rule always returns. Values must be primitive values - number,
* string, boolean.
*
* @param value the value value to set.
* @return the StaticRouterRuleInternal object itself.
*/
@Generated
public StaticRouterRuleInternal setValue(Object value) {
this.value = value;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy