DynamicDeliveryAttributeMapping Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. DeliveryAttributeMapping - com.
azure. resourcemanager. eventgrid. models. DynamicDeliveryAttributeMapping
- com.
- com.
public final class DynamicDeliveryAttributeMapping
extends DeliveryAttributeMapping
Dynamic delivery attribute mapping details.
Constructor Summary
| Constructor | Description |
|---|---|
| DynamicDeliveryAttributeMapping() |
Creates an instance of Dynamic |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Dynamic |
fromJson(JsonReader jsonReader)
Reads an instance of Dynamic |
| String |
sourceField()
Get the source |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Delivery |
type()
Get the type property: Type of the delivery attribute or header name. |
| void |
validate()
Validates the instance. |
|
Dynamic |
withName(String name)
Set the name property: Name of the delivery attribute or header. |
|
Dynamic |
withSourceField(String sourceField)
Set the source |
Methods inherited from DeliveryAttributeMapping
Methods inherited from java.lang.Object
Constructor Details
DynamicDeliveryAttributeMapping
public DynamicDeliveryAttributeMapping()
Creates an instance of DynamicDeliveryAttributeMapping class.
Method Details
fromJson
public static DynamicDeliveryAttributeMapping fromJson(JsonReader jsonReader)
Reads an instance of DynamicDeliveryAttributeMapping from the JsonReader.
Parameters:
Returns:
Throws:
sourceField
public String sourceField()
Get the sourceField property: JSON path in the event which contains attribute value.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DynamicDeliveryAttributeMapping.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public DeliveryAttributeMappingType type()
Get the type property: Type of the delivery attribute or header name.
Overrides:
DynamicDeliveryAttributeMapping.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
DynamicDeliveryAttributeMapping.validate()withName
public DynamicDeliveryAttributeMapping withName(String name)
Set the name property: Name of the delivery attribute or header.
Overrides:
DynamicDeliveryAttributeMapping.withName(String name)Parameters:
withSourceField
public DynamicDeliveryAttributeMapping withSourceField(String sourceField)
Set the sourceField property: JSON path in the event which contains attribute value.
Parameters:
Returns: