Class NetworkSecurityGroupRule


  • public class NetworkSecurityGroupRule
    extends Object
    A network security group rule to apply to an inbound endpoint.
    • Constructor Detail

      • NetworkSecurityGroupRule

        public NetworkSecurityGroupRule()
    • Method Detail

      • priority

        public int priority()
        Get the priority value.
        Returns:
        the priority value
      • withPriority

        public NetworkSecurityGroupRule withPriority​(int priority)
        Set the priority value.
        Parameters:
        priority - the priority value to set
        Returns:
        the NetworkSecurityGroupRule object itself.
      • sourceAddressPrefix

        public String sourceAddressPrefix()
        Get the sourceAddressPrefix value.
        Returns:
        the sourceAddressPrefix value
      • withSourceAddressPrefix

        public NetworkSecurityGroupRule withSourceAddressPrefix​(String sourceAddressPrefix)
        Set the sourceAddressPrefix value.
        Parameters:
        sourceAddressPrefix - the sourceAddressPrefix value to set
        Returns:
        the NetworkSecurityGroupRule object itself.