Class StaticDeliveryAttributeMapping
- java.lang.Object
-
- com.azure.resourcemanager.eventgrid.models.DeliveryAttributeMapping
-
- com.azure.resourcemanager.eventgrid.models.StaticDeliveryAttributeMapping
-
public final class StaticDeliveryAttributeMapping extends DeliveryAttributeMapping
Static delivery attribute mapping details.
-
-
Constructor Summary
Constructors Constructor Description StaticDeliveryAttributeMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanisSecret()Get the isSecret property: Boolean flag to tell if the attribute contains sensitive information .voidvalidate()Validates the instance.Stringvalue()Get the value property: Value of the delivery attribute.StaticDeliveryAttributeMappingwithIsSecret(Boolean isSecret)Set the isSecret property: Boolean flag to tell if the attribute contains sensitive information .StaticDeliveryAttributeMappingwithName(String name)Set the name property: Name of the delivery attribute or header.StaticDeliveryAttributeMappingwithValue(String value)Set the value property: Value of the delivery attribute.-
Methods inherited from class com.azure.resourcemanager.eventgrid.models.DeliveryAttributeMapping
name
-
-
-
-
Method Detail
-
withName
public StaticDeliveryAttributeMapping withName(String name)
Set the name property: Name of the delivery attribute or header.- Overrides:
withNamein classDeliveryAttributeMapping- Parameters:
name- the name value to set.- Returns:
- the DeliveryAttributeMapping object itself.
-
value
public String value()
Get the value property: Value of the delivery attribute.- Returns:
- the value value.
-
withValue
public StaticDeliveryAttributeMapping withValue(String value)
Set the value property: Value of the delivery attribute.- Parameters:
value- the value value to set.- Returns:
- the StaticDeliveryAttributeMapping object itself.
-
isSecret
public Boolean isSecret()
Get the isSecret property: Boolean flag to tell if the attribute contains sensitive information .- Returns:
- the isSecret value.
-
withIsSecret
public StaticDeliveryAttributeMapping withIsSecret(Boolean isSecret)
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:
validatein classDeliveryAttributeMapping- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-