StaticDeliveryAttributeMapping Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. DeliveryAttributeMapping - com.
azure. resourcemanager. eventgrid. models. StaticDeliveryAttributeMapping
- com.
- com.
public final class StaticDeliveryAttributeMapping
extends DeliveryAttributeMapping
Static delivery attribute mapping details.
Constructor Summary
| Constructor | Description |
|---|---|
| StaticDeliveryAttributeMapping() |
Creates an instance of Static |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Static |
fromJson(JsonReader jsonReader)
Reads an instance of Static |
| Boolean |
isSecret()
Get the is |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Delivery |
type()
Get the type property: Type of the delivery attribute or header name. |
| void |
validate()
Validates the instance. |
| String |
value()
Get the value property: Value of the delivery attribute. |
|
Static |
withIsSecret(Boolean isSecret)
Set the is |
|
Static |
withName(String name)
Set the name property: Name of the delivery attribute or header. |
|
Static |
withValue(String value)
Set the value property: Value of the delivery attribute. |
Methods inherited from DeliveryAttributeMapping
Methods inherited from java.lang.Object
Constructor Details
StaticDeliveryAttributeMapping
public StaticDeliveryAttributeMapping()
Creates an instance of StaticDeliveryAttributeMapping class.
Method Details
fromJson
public static StaticDeliveryAttributeMapping fromJson(JsonReader jsonReader)
Reads an instance of StaticDeliveryAttributeMapping from the JsonReader.
Parameters:
Returns:
Throws:
isSecret
public Boolean isSecret()
Get the isSecret property: Boolean flag to tell if the attribute contains sensitive information .
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
StaticDeliveryAttributeMapping.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public DeliveryAttributeMappingType type()
Get the type property: Type of the delivery attribute or header name.
Overrides:
StaticDeliveryAttributeMapping.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
StaticDeliveryAttributeMapping.validate()value
public String value()
Get the value property: Value of the delivery attribute.
Returns:
withIsSecret
public StaticDeliveryAttributeMapping withIsSecret(Boolean isSecret)
Set the isSecret property: Boolean flag to tell if the attribute contains sensitive information .
Parameters:
Returns:
withName
public StaticDeliveryAttributeMapping withName(String name)
Set the name property: Name of the delivery attribute or header.
Overrides:
StaticDeliveryAttributeMapping.withName(String name)Parameters:
withValue
public StaticDeliveryAttributeMapping withValue(String value)
Set the value property: Value of the delivery attribute.
Parameters:
Returns: