DynamicRoutingEnrichment Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. DynamicRoutingEnrichment
- com.
Implements
public final class DynamicRoutingEnrichment
implements JsonSerializable<DynamicRoutingEnrichment>
The DynamicRoutingEnrichment model.
Constructor Summary
| Constructor | Description |
|---|---|
| DynamicRoutingEnrichment() |
Creates an instance of Dynamic |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Dynamic |
fromJson(JsonReader jsonReader)
Reads an instance of Dynamic |
| String |
key()
Get the key property: Dynamic routing enrichment key. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
value()
Get the value property: Dynamic routing enrichment value. |
|
Dynamic |
withKey(String key)
Set the key property: Dynamic routing enrichment key. |
|
Dynamic |
withValue(String value)
Set the value property: Dynamic routing enrichment value. |
Methods inherited from java.lang.Object
Constructor Details
DynamicRoutingEnrichment
public DynamicRoutingEnrichment()
Creates an instance of DynamicRoutingEnrichment class.
Method Details
fromJson
public static DynamicRoutingEnrichment fromJson(JsonReader jsonReader)
Reads an instance of DynamicRoutingEnrichment from the JsonReader.
Parameters:
Returns:
Throws:
key
public String key()
Get the key property: Dynamic routing enrichment key.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: Dynamic routing enrichment value.
Returns:
withKey
public DynamicRoutingEnrichment withKey(String key)
Set the key property: Dynamic routing enrichment key.
Parameters:
Returns:
withValue
public DynamicRoutingEnrichment withValue(String value)
Set the value property: Dynamic routing enrichment value.
Parameters:
Returns: