Class IpAddressGroup

java.lang.Object
com.azure.resourcemanager.cdn.models.IpAddressGroup

public final class IpAddressGroup extends Object
CDN Ip address group.
  • Constructor Details

    • IpAddressGroup

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

    • deliveryRegion

      public String deliveryRegion()
      Get the deliveryRegion property: The delivery region of the ip address group.
      Returns:
      the deliveryRegion value.
    • withDeliveryRegion

      public IpAddressGroup withDeliveryRegion(String deliveryRegion)
      Set the deliveryRegion property: The delivery region of the ip address group.
      Parameters:
      deliveryRegion - the deliveryRegion value to set.
      Returns:
      the IpAddressGroup object itself.
    • ipv4Addresses

      public List<CidrIpAddress> ipv4Addresses()
      Get the ipv4Addresses property: The list of ip v4 addresses.
      Returns:
      the ipv4Addresses value.
    • withIpv4Addresses

      public IpAddressGroup withIpv4Addresses(List<CidrIpAddress> ipv4Addresses)
      Set the ipv4Addresses property: The list of ip v4 addresses.
      Parameters:
      ipv4Addresses - the ipv4Addresses value to set.
      Returns:
      the IpAddressGroup object itself.
    • ipv6Addresses

      public List<CidrIpAddress> ipv6Addresses()
      Get the ipv6Addresses property: The list of ip v6 addresses.
      Returns:
      the ipv6Addresses value.
    • withIpv6Addresses

      public IpAddressGroup withIpv6Addresses(List<CidrIpAddress> ipv6Addresses)
      Set the ipv6Addresses property: The list of ip v6 addresses.
      Parameters:
      ipv6Addresses - the ipv6Addresses value to set.
      Returns:
      the IpAddressGroup object itself.
    • validate

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