Class FirewallPolicyThreatIntelWhitelist
java.lang.Object
com.azure.resourcemanager.network.models.FirewallPolicyThreatIntelWhitelist
- All Implemented Interfaces:
com.azure.json.JsonSerializable<FirewallPolicyThreatIntelWhitelist>
public final class FirewallPolicyThreatIntelWhitelist
extends Object
implements com.azure.json.JsonSerializable<FirewallPolicyThreatIntelWhitelist>
ThreatIntel Whitelist for Firewall Policy.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of FirewallPolicyThreatIntelWhitelist class. -
Method Summary
Modifier and TypeMethodDescriptionfqdns()Get the fqdns property: List of FQDNs for the ThreatIntel Whitelist.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of FirewallPolicyThreatIntelWhitelist from the JsonReader.Get the ipAddresses property: List of IP addresses for the ThreatIntel Whitelist.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Set the fqdns property: List of FQDNs for the ThreatIntel Whitelist.withIpAddresses(List<String> ipAddresses) Set the ipAddresses property: List of IP addresses for the ThreatIntel Whitelist.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
FirewallPolicyThreatIntelWhitelist
public FirewallPolicyThreatIntelWhitelist()Creates an instance of FirewallPolicyThreatIntelWhitelist class.
-
-
Method Details
-
ipAddresses
Get the ipAddresses property: List of IP addresses for the ThreatIntel Whitelist.- Returns:
- the ipAddresses value.
-
withIpAddresses
Set the ipAddresses property: List of IP addresses for the ThreatIntel Whitelist.- Parameters:
ipAddresses- the ipAddresses value to set.- Returns:
- the FirewallPolicyThreatIntelWhitelist object itself.
-
fqdns
Get the fqdns property: List of FQDNs for the ThreatIntel Whitelist.- Returns:
- the fqdns value.
-
withFqdns
Set the fqdns property: List of FQDNs for the ThreatIntel Whitelist.- Parameters:
fqdns- the fqdns value to set.- Returns:
- the FirewallPolicyThreatIntelWhitelist object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<FirewallPolicyThreatIntelWhitelist>- Throws:
IOException
-
fromJson
public static FirewallPolicyThreatIntelWhitelist fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of FirewallPolicyThreatIntelWhitelist from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of FirewallPolicyThreatIntelWhitelist if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the FirewallPolicyThreatIntelWhitelist.
-