FirewallPolicyThreatIntelWhitelist Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.FirewallPolicyThreatIntelWhitelist

Implements

public final class FirewallPolicyThreatIntelWhitelist
implements JsonSerializable<FirewallPolicyThreatIntelWhitelist>

ThreatIntel Whitelist for Firewall Policy.

Constructor Summary

Constructor Description
FirewallPolicyThreatIntelWhitelist()

Creates an instance of FirewallPolicyThreatIntelWhitelist class.

Method Summary

Modifier and Type Method and Description
List<String> fqdns()

Get the fqdns property: List of FQDNs for the ThreatIntel Whitelist.

static FirewallPolicyThreatIntelWhitelist fromJson(JsonReader jsonReader)

Reads an instance of FirewallPolicyThreatIntelWhitelist from the JsonReader.

List<String> ipAddresses()

Get the ipAddresses property: List of IP addresses for the ThreatIntel Whitelist.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

FirewallPolicyThreatIntelWhitelist withFqdns(List<String> fqdns)

Set the fqdns property: List of FQDNs for the ThreatIntel Whitelist.

FirewallPolicyThreatIntelWhitelist withIpAddresses(List<String> ipAddresses)

Set the ipAddresses property: List of IP addresses for the ThreatIntel Whitelist.

Methods inherited from java.lang.Object

Constructor Details

FirewallPolicyThreatIntelWhitelist

public FirewallPolicyThreatIntelWhitelist()

Creates an instance of FirewallPolicyThreatIntelWhitelist class.

Method Details

fqdns

public List fqdns()

Get the fqdns property: List of FQDNs for the ThreatIntel Whitelist.

Returns:

the fqdns value.

fromJson

public static FirewallPolicyThreatIntelWhitelist fromJson(JsonReader jsonReader)

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.

ipAddresses

public List ipAddresses()

Get the ipAddresses property: List of IP addresses for the ThreatIntel Whitelist.

Returns:

the ipAddresses value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withFqdns

public FirewallPolicyThreatIntelWhitelist withFqdns(List fqdns)

Set the fqdns property: List of FQDNs for the ThreatIntel Whitelist.

Parameters:

fqdns - the fqdns value to set.

Returns:

the FirewallPolicyThreatIntelWhitelist object itself.

withIpAddresses

public FirewallPolicyThreatIntelWhitelist withIpAddresses(List ipAddresses)

Set the ipAddresses property: List of IP addresses for the ThreatIntel Whitelist.

Parameters:

ipAddresses - the ipAddresses value to set.

Returns:

the FirewallPolicyThreatIntelWhitelist object itself.

Applies to