Class DeliveryAttributeMapping
- java.lang.Object
-
- com.azure.resourcemanager.eventgrid.models.DeliveryAttributeMapping
-
- Direct Known Subclasses:
DynamicDeliveryAttributeMapping,StaticDeliveryAttributeMapping
public class DeliveryAttributeMapping extends Object
Delivery attribute mapping details.
-
-
Constructor Summary
Constructors Constructor Description DeliveryAttributeMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringname()Get the name property: Name of the delivery attribute or header.voidvalidate()Validates the instance.DeliveryAttributeMappingwithName(String name)Set the name property: Name of the delivery attribute or header.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Name of the delivery attribute or header.- Returns:
- the name value.
-
withName
public DeliveryAttributeMapping withName(String name)
Set the name property: Name of the delivery attribute or header.- Parameters:
name- the name value to set.- Returns:
- the DeliveryAttributeMapping object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-