Class NetworkSecurityPerimeterConfigurationPropertiesProfile

java.lang.Object
com.azure.resourcemanager.eventhubs.models.NetworkSecurityPerimeterConfigurationPropertiesProfile

public final class NetworkSecurityPerimeterConfigurationPropertiesProfile extends Object
Information about current network profile.
  • Constructor Details

    • NetworkSecurityPerimeterConfigurationPropertiesProfile

      public NetworkSecurityPerimeterConfigurationPropertiesProfile()
      Creates an instance of NetworkSecurityPerimeterConfigurationPropertiesProfile class.
  • Method Details

    • name

      public String name()
      Get the name property: Name of the resource.
      Returns:
      the name value.
    • withName

      Set the name property: Name of the resource.
      Parameters:
      name - the name value to set.
      Returns:
      the NetworkSecurityPerimeterConfigurationPropertiesProfile object itself.
    • accessRulesVersion

      public String accessRulesVersion()
      Get the accessRulesVersion property: Current access rules version.
      Returns:
      the accessRulesVersion value.
    • withAccessRulesVersion

      public NetworkSecurityPerimeterConfigurationPropertiesProfile withAccessRulesVersion(String accessRulesVersion)
      Set the accessRulesVersion property: Current access rules version.
      Parameters:
      accessRulesVersion - the accessRulesVersion value to set.
      Returns:
      the NetworkSecurityPerimeterConfigurationPropertiesProfile object itself.
    • accessRules

      public List<NspAccessRule> accessRules()
      Get the accessRules property: List of Access Rules.
      Returns:
      the accessRules value.
    • withAccessRules

      Set the accessRules property: List of Access Rules.
      Parameters:
      accessRules - the accessRules value to set.
      Returns:
      the NetworkSecurityPerimeterConfigurationPropertiesProfile object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.