Class IpAddressGroup
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.IpAddressGroup
-
public final class IpAddressGroup extends Object
CDN Ip address group.
-
-
Constructor Summary
Constructors Constructor Description IpAddressGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdeliveryRegion()Get the deliveryRegion property: The delivery region of the ip address group.List<CidrIpAddress>ipv4Addresses()Get the ipv4Addresses property: The list of ip v4 addresses.List<CidrIpAddress>ipv6Addresses()Get the ipv6Addresses property: The list of ip v6 addresses.voidvalidate()Validates the instance.IpAddressGroupwithDeliveryRegion(String deliveryRegion)Set the deliveryRegion property: The delivery region of the ip address group.IpAddressGroupwithIpv4Addresses(List<CidrIpAddress> ipv4Addresses)Set the ipv4Addresses property: The list of ip v4 addresses.IpAddressGroupwithIpv6Addresses(List<CidrIpAddress> ipv6Addresses)Set the ipv6Addresses property: The list of ip v6 addresses.
-
-
-
Method Detail
-
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.
-
-