DeliveryAttributeMapping Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. DeliveryAttributeMapping
- com.
Implements
public class DeliveryAttributeMapping
implements JsonSerializable<DeliveryAttributeMapping>
Delivery attribute mapping details.
Constructor Summary
| Constructor | Description |
|---|---|
| DeliveryAttributeMapping() |
Creates an instance of Delivery |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Delivery |
fromJson(JsonReader jsonReader)
Reads an instance of Delivery |
| String |
name()
Get the name property: Name of the delivery attribute or header. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Delivery |
type()
Get the type property: Type of the delivery attribute or header name. |
| void |
validate()
Validates the instance. |
|
Delivery |
withName(String name)
Set the name property: Name of the delivery attribute or header. |
Methods inherited from java.lang.Object
Constructor Details
DeliveryAttributeMapping
public DeliveryAttributeMapping()
Creates an instance of DeliveryAttributeMapping class.
Method Details
fromJson
public static DeliveryAttributeMapping fromJson(JsonReader jsonReader)
Reads an instance of DeliveryAttributeMapping from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of the delivery attribute or header.
Returns:
toJson
type
public DeliveryAttributeMappingType type()
Get the type property: Type of the delivery attribute or header name.
Returns:
validate
public void validate()
Validates the instance.
withName
public DeliveryAttributeMapping withName(String name)
Set the name property: Name of the delivery attribute or header.
Parameters:
Returns: