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