Class EffectiveNetworkSecurityRule


  • public class EffectiveNetworkSecurityRule
    extends Object
    Effective network security rules.
    • Constructor Detail

      • EffectiveNetworkSecurityRule

        public EffectiveNetworkSecurityRule()
    • Method Detail

      • name

        public String name()
        Get the name value.
        Returns:
        the name value
      • withName

        public EffectiveNetworkSecurityRule withName​(String name)
        Set the name value.
        Parameters:
        name - the name value to set
        Returns:
        the EffectiveNetworkSecurityRule object itself.
      • sourcePortRange

        public String sourcePortRange()
        Get the sourcePortRange value.
        Returns:
        the sourcePortRange value
      • withSourcePortRange

        public EffectiveNetworkSecurityRule withSourcePortRange​(String sourcePortRange)
        Set the sourcePortRange value.
        Parameters:
        sourcePortRange - the sourcePortRange value to set
        Returns:
        the EffectiveNetworkSecurityRule object itself.
      • destinationPortRange

        public String destinationPortRange()
        Get the destinationPortRange value.
        Returns:
        the destinationPortRange value
      • withDestinationPortRange

        public EffectiveNetworkSecurityRule withDestinationPortRange​(String destinationPortRange)
        Set the destinationPortRange value.
        Parameters:
        destinationPortRange - the destinationPortRange value to set
        Returns:
        the EffectiveNetworkSecurityRule object itself.
      • sourcePortRanges

        public List<String> sourcePortRanges()
        Get the sourcePortRanges value.
        Returns:
        the sourcePortRanges value
      • withSourcePortRanges

        public EffectiveNetworkSecurityRule withSourcePortRanges​(List<String> sourcePortRanges)
        Set the sourcePortRanges value.
        Parameters:
        sourcePortRanges - the sourcePortRanges value to set
        Returns:
        the EffectiveNetworkSecurityRule object itself.
      • destinationPortRanges

        public List<String> destinationPortRanges()
        Get the destinationPortRanges value.
        Returns:
        the destinationPortRanges value
      • withDestinationPortRanges

        public EffectiveNetworkSecurityRule withDestinationPortRanges​(List<String> destinationPortRanges)
        Set the destinationPortRanges value.
        Parameters:
        destinationPortRanges - the destinationPortRanges value to set
        Returns:
        the EffectiveNetworkSecurityRule object itself.
      • sourceAddressPrefix

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

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

        public String destinationAddressPrefix()
        Get the destinationAddressPrefix value.
        Returns:
        the destinationAddressPrefix value
      • withDestinationAddressPrefix

        public EffectiveNetworkSecurityRule withDestinationAddressPrefix​(String destinationAddressPrefix)
        Set the destinationAddressPrefix value.
        Parameters:
        destinationAddressPrefix - the destinationAddressPrefix value to set
        Returns:
        the EffectiveNetworkSecurityRule object itself.
      • sourceAddressPrefixes

        public List<String> sourceAddressPrefixes()
        Get the sourceAddressPrefixes value.
        Returns:
        the sourceAddressPrefixes value
      • withSourceAddressPrefixes

        public EffectiveNetworkSecurityRule withSourceAddressPrefixes​(List<String> sourceAddressPrefixes)
        Set the sourceAddressPrefixes value.
        Parameters:
        sourceAddressPrefixes - the sourceAddressPrefixes value to set
        Returns:
        the EffectiveNetworkSecurityRule object itself.
      • destinationAddressPrefixes

        public List<String> destinationAddressPrefixes()
        Get the destinationAddressPrefixes value.
        Returns:
        the destinationAddressPrefixes value
      • withDestinationAddressPrefixes

        public EffectiveNetworkSecurityRule withDestinationAddressPrefixes​(List<String> destinationAddressPrefixes)
        Set the destinationAddressPrefixes value.
        Parameters:
        destinationAddressPrefixes - the destinationAddressPrefixes value to set
        Returns:
        the EffectiveNetworkSecurityRule object itself.
      • expandedSourceAddressPrefix

        public List<String> expandedSourceAddressPrefix()
        Get the expandedSourceAddressPrefix value.
        Returns:
        the expandedSourceAddressPrefix value
      • withExpandedSourceAddressPrefix

        public EffectiveNetworkSecurityRule withExpandedSourceAddressPrefix​(List<String> expandedSourceAddressPrefix)
        Set the expandedSourceAddressPrefix value.
        Parameters:
        expandedSourceAddressPrefix - the expandedSourceAddressPrefix value to set
        Returns:
        the EffectiveNetworkSecurityRule object itself.
      • expandedDestinationAddressPrefix

        public List<String> expandedDestinationAddressPrefix()
        Get the expandedDestinationAddressPrefix value.
        Returns:
        the expandedDestinationAddressPrefix value
      • withExpandedDestinationAddressPrefix

        public EffectiveNetworkSecurityRule withExpandedDestinationAddressPrefix​(List<String> expandedDestinationAddressPrefix)
        Set the expandedDestinationAddressPrefix value.
        Parameters:
        expandedDestinationAddressPrefix - the expandedDestinationAddressPrefix value to set
        Returns:
        the EffectiveNetworkSecurityRule object itself.
      • access

        public SecurityRuleAccess access()
        Get the access value.
        Returns:
        the access value
      • priority

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

        public EffectiveNetworkSecurityRule withPriority​(Integer priority)
        Set the priority value.
        Parameters:
        priority - the priority value to set
        Returns:
        the EffectiveNetworkSecurityRule object itself.
      • direction

        public SecurityRuleDirection direction()
        Get the direction value.
        Returns:
        the direction value