WafPolicy Class
- java.
lang. Object - com.
azure. resourcemanager. servicenetworking. models. WafPolicy
- com.
Implements
public final class WafPolicy
implements JsonSerializable<WafPolicy>
Web Application Firewall Policy.
Constructor Summary
| Constructor | Description |
|---|---|
| WafPolicy() |
Creates an instance of Waf |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Waf |
fromJson(JsonReader jsonReader)
Reads an instance of Waf |
| String |
id()
Get the id property: Resource ID of the WAF. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Waf |
withId(String id)
Set the id property: Resource ID of the WAF. |
Methods inherited from java.lang.Object
Constructor Details
WafPolicy
public WafPolicy()
Creates an instance of WafPolicy class.
Method Details
fromJson
public static WafPolicy fromJson(JsonReader jsonReader)
Reads an instance of WafPolicy from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID of the WAF.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public WafPolicy withId(String id)
Set the id property: Resource ID of the WAF.
Parameters:
Returns: