Class PolicyTableEntryPolicyRule


  • public final class PolicyTableEntryPolicyRule
    extends java.lang.Object
    • Method Detail

      • destinationCidrBlock

        public java.util.Optional<java.lang.String> destinationCidrBlock()
        Returns:
        Destination CIDR block to match. If not specified, all destination CIDR blocks are matched.
      • destinationPortRange

        public java.util.Optional<java.lang.String> destinationPortRange()
        Returns:
        Destination port or port range to match (e.g., `443` or `1024-65535`). Only valid when `protocol` is `6` (TCP) or `17` (UDP).
      • protocol

        public java.util.Optional<java.lang.String> protocol()
        Returns:
        Protocol number to match (e.g., `6` for TCP, `17` for UDP). If not specified, all protocols are matched.
      • sourceCidrBlock

        public java.util.Optional<java.lang.String> sourceCidrBlock()
        Returns:
        Source CIDR block to match. If not specified, all source CIDR blocks are matched.
      • sourcePortRange

        public java.util.Optional<java.lang.String> sourcePortRange()
        Returns:
        Source port or port range to match (e.g., `443` or `1024-65535`). Only valid when `protocol` is `6` (TCP) or `17` (UDP).