StaticRoutingEnrichment Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. StaticRoutingEnrichment
- com.
Implements
public class StaticRoutingEnrichment
implements JsonSerializable<StaticRoutingEnrichment>
Static routing enrichment details.
Constructor Summary
| Constructor | Description |
|---|---|
| StaticRoutingEnrichment() |
Creates an instance of Static |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Static |
fromJson(JsonReader jsonReader)
Reads an instance of Static |
| String |
key()
Get the key property: Static routing enrichment key. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Static |
valueType()
Get the value |
|
Static |
withKey(String key)
Set the key property: Static routing enrichment key. |
Methods inherited from java.lang.Object
Constructor Details
StaticRoutingEnrichment
public StaticRoutingEnrichment()
Creates an instance of StaticRoutingEnrichment class.
Method Details
fromJson
public static StaticRoutingEnrichment fromJson(JsonReader jsonReader)
Reads an instance of StaticRoutingEnrichment from the JsonReader.
Parameters:
Returns:
Throws:
key
public String key()
Get the key property: Static routing enrichment key.
Returns:
toJson
validate
public void validate()
Validates the instance.
valueType
public StaticRoutingEnrichmentType valueType()
Get the valueType property: Static routing enrichment value type. For e.g. this property value can be 'String'.
Returns:
withKey
public StaticRoutingEnrichment withKey(String key)
Set the key property: Static routing enrichment key.
Parameters:
Returns: