Class StaticDeliveryAttributeMapping
java.lang.Object
com.azure.resourcemanager.eventgrid.models.DeliveryAttributeMapping
com.azure.resourcemanager.eventgrid.models.StaticDeliveryAttributeMapping
Static delivery attribute mapping details.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionisSecret()
Get the isSecret property: Boolean flag to tell if the attribute contains sensitive information .void
validate()
Validates the instance.value()
Get the value property: Value of the delivery attribute.withIsSecret
(Boolean isSecret) Set the isSecret property: Boolean flag to tell if the attribute contains sensitive information .Set the name property: Name of the delivery attribute or header.Set the value property: Value of the delivery attribute.Methods inherited from class com.azure.resourcemanager.eventgrid.models.DeliveryAttributeMapping
name
-
Constructor Details
-
StaticDeliveryAttributeMapping
public StaticDeliveryAttributeMapping()
-
-
Method Details
-
withName
Set the name property: Name of the delivery attribute or header.- Overrides:
withName
in classDeliveryAttributeMapping
- Parameters:
name
- the name value to set.- Returns:
- the DeliveryAttributeMapping object itself.
-
value
Get the value property: Value of the delivery attribute.- Returns:
- the value value.
-
withValue
Set the value property: Value of the delivery attribute.- Parameters:
value
- the value value to set.- Returns:
- the StaticDeliveryAttributeMapping object itself.
-
isSecret
Get the isSecret property: Boolean flag to tell if the attribute contains sensitive information .- Returns:
- the isSecret value.
-
withIsSecret
Set the isSecret property: Boolean flag to tell if the attribute contains sensitive information .- Parameters:
isSecret
- the isSecret value to set.- Returns:
- the StaticDeliveryAttributeMapping object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classDeliveryAttributeMapping
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-