Class AzureFirewallPacketCaptureRule
java.lang.Object
com.azure.resourcemanager.network.models.AzureFirewallPacketCaptureRule
Group of src/dest ips and ports to be captured.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AzureFirewallPacketCaptureRule class. -
Method Summary
Modifier and TypeMethodDescriptionGet the destinationPorts property: List of ports to be captured.Get the destinations property: List of destination IP addresses/subnets to be captured.sources()Get the sources property: List of source IP addresses/subnets to be captured.voidvalidate()Validates the instance.withDestinationPorts(List<String> destinationPorts) Set the destinationPorts property: List of ports to be captured.withDestinations(List<String> destinations) Set the destinations property: List of destination IP addresses/subnets to be captured.withSources(List<String> sources) Set the sources property: List of source IP addresses/subnets to be captured.
-
Constructor Details
-
AzureFirewallPacketCaptureRule
public AzureFirewallPacketCaptureRule()Creates an instance of AzureFirewallPacketCaptureRule class.
-
-
Method Details
-
sources
Get the sources property: List of source IP addresses/subnets to be captured.- Returns:
- the sources value.
-
withSources
Set the sources property: List of source IP addresses/subnets to be captured.- Parameters:
sources- the sources value to set.- Returns:
- the AzureFirewallPacketCaptureRule object itself.
-
destinations
Get the destinations property: List of destination IP addresses/subnets to be captured.- Returns:
- the destinations value.
-
withDestinations
Set the destinations property: List of destination IP addresses/subnets to be captured.- Parameters:
destinations- the destinations value to set.- Returns:
- the AzureFirewallPacketCaptureRule object itself.
-
destinationPorts
Get the destinationPorts property: List of ports to be captured.- Returns:
- the destinationPorts value.
-
withDestinationPorts
Set the destinationPorts property: List of ports to be captured.- Parameters:
destinationPorts- the destinationPorts value to set.- Returns:
- the AzureFirewallPacketCaptureRule object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-