Class IpAccessControl

java.lang.Object
com.azure.resourcemanager.mediaservices.models.IpAccessControl

public final class IpAccessControl extends Object
The IP access control.
  • Constructor Details

    • IpAccessControl

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

    • allow

      public List<IpRange> allow()
      Get the allow property: The IP allow list.
      Returns:
      the allow value.
    • withAllow

      public IpAccessControl withAllow(List<IpRange> allow)
      Set the allow property: The IP allow list.
      Parameters:
      allow - the allow value to set.
      Returns:
      the IpAccessControl object itself.
    • validate

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