FirewallPolicyIntrusionDetectionBypassTrafficSpecifications Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. FirewallPolicyIntrusionDetectionBypassTrafficSpecifications
- com.
Implements
public final class FirewallPolicyIntrusionDetectionBypassTrafficSpecifications
implements JsonSerializable<FirewallPolicyIntrusionDetectionBypassTrafficSpecifications>
Intrusion detection bypass traffic specification.
Constructor Summary
Constructor | Description |
---|---|
FirewallPolicyIntrusionDetectionBypassTrafficSpecifications() |
Creates an instance of Firewall |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: Description of the bypass traffic rule. |
List<String> |
destinationAddresses()
Get the destination |
List<String> |
destinationIpGroups()
Get the destination |
List<String> |
destinationPorts()
Get the destination |
static
Firewall |
fromJson(JsonReader jsonReader)
Reads an instance of Firewall |
String |
name()
Get the name property: Name of the bypass traffic rule. |
Firewall |
protocol()
Get the protocol property: The rule bypass protocol. |
List<String> |
sourceAddresses()
Get the source |
List<String> |
sourceIpGroups()
Get the source |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Firewall |
withDescription(String description)
Set the description property: Description of the bypass traffic rule. |
Firewall |
withDestinationAddresses(List<String> destinationAddresses)
Set the destination |
Firewall |
withDestinationIpGroups(List<String> destinationIpGroups)
Set the destination |
Firewall |
withDestinationPorts(List<String> destinationPorts)
Set the destination |
Firewall |
withName(String name)
Set the name property: Name of the bypass traffic rule. |
Firewall |
withProtocol(FirewallPolicyIntrusionDetectionProtocol protocol)
Set the protocol property: The rule bypass protocol. |
Firewall |
withSourceAddresses(List<String> sourceAddresses)
Set the source |
Firewall |
withSourceIpGroups(List<String> sourceIpGroups)
Set the source |
Methods inherited from java.lang.Object
Constructor Details
FirewallPolicyIntrusionDetectionBypassTrafficSpecifications
public FirewallPolicyIntrusionDetectionBypassTrafficSpecifications()
Creates an instance of FirewallPolicyIntrusionDetectionBypassTrafficSpecifications class.
Method Details
description
public String description()
Get the description property: Description of the bypass traffic rule.
Returns:
destinationAddresses
public List
Get the destinationAddresses property: List of destination IP addresses or ranges for this rule.
Returns:
destinationIpGroups
public List
Get the destinationIpGroups property: List of destination IpGroups for this rule.
Returns:
destinationPorts
public List
Get the destinationPorts property: List of destination ports or ranges.
Returns:
fromJson
public static FirewallPolicyIntrusionDetectionBypassTrafficSpecifications fromJson(JsonReader jsonReader)
Reads an instance of FirewallPolicyIntrusionDetectionBypassTrafficSpecifications from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of the bypass traffic rule.
Returns:
protocol
public FirewallPolicyIntrusionDetectionProtocol protocol()
Get the protocol property: The rule bypass protocol.
Returns:
sourceAddresses
public List
Get the sourceAddresses property: List of source IP addresses or ranges for this rule.
Returns:
sourceIpGroups
public List
Get the sourceIpGroups property: List of source IpGroups for this rule.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDescription
public FirewallPolicyIntrusionDetectionBypassTrafficSpecifications withDescription(String description)
Set the description property: Description of the bypass traffic rule.
Parameters:
Returns:
withDestinationAddresses
public FirewallPolicyIntrusionDetectionBypassTrafficSpecifications withDestinationAddresses(List
Set the destinationAddresses property: List of destination IP addresses or ranges for this rule.
Parameters:
Returns:
withDestinationIpGroups
public FirewallPolicyIntrusionDetectionBypassTrafficSpecifications withDestinationIpGroups(List
Set the destinationIpGroups property: List of destination IpGroups for this rule.
Parameters:
Returns:
withDestinationPorts
public FirewallPolicyIntrusionDetectionBypassTrafficSpecifications withDestinationPorts(List
Set the destinationPorts property: List of destination ports or ranges.
Parameters:
Returns:
withName
public FirewallPolicyIntrusionDetectionBypassTrafficSpecifications withName(String name)
Set the name property: Name of the bypass traffic rule.
Parameters:
Returns:
withProtocol
public FirewallPolicyIntrusionDetectionBypassTrafficSpecifications withProtocol(FirewallPolicyIntrusionDetectionProtocol protocol)
Set the protocol property: The rule bypass protocol.
Parameters:
Returns:
withSourceAddresses
public FirewallPolicyIntrusionDetectionBypassTrafficSpecifications withSourceAddresses(List
Set the sourceAddresses property: List of source IP addresses or ranges for this rule.
Parameters:
Returns:
withSourceIpGroups
public FirewallPolicyIntrusionDetectionBypassTrafficSpecifications withSourceIpGroups(List
Set the sourceIpGroups property: List of source IpGroups for this rule.
Parameters:
Returns:
Applies to
Azure SDK for Java