IpAddressGroup Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. models. IpAddressGroup
- com.
Implements
public final class IpAddressGroup
implements JsonSerializable<IpAddressGroup>
CDN Ip address group.
Constructor Summary
Constructor | Description |
---|---|
IpAddressGroup() |
Creates an instance of Ip |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
deliveryRegion()
Get the delivery |
static
Ip |
fromJson(JsonReader jsonReader)
Reads an instance of Ip |
List<Cidr |
ipv4Addresses()
Get the ipv4Addresses property: The list of ip v4 addresses. |
List<Cidr |
ipv6Addresses()
Get the ipv6Addresses property: The list of ip v6 addresses. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Ip |
withDeliveryRegion(String deliveryRegion)
Set the delivery |
Ip |
withIpv4Addresses(List<CidrIpAddress> ipv4Addresses)
Set the ipv4Addresses property: The list of ip v4 addresses. |
Ip |
withIpv6Addresses(List<CidrIpAddress> ipv6Addresses)
Set the ipv6Addresses property: The list of ip v6 addresses. |
Methods inherited from java.lang.Object
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:
fromJson
public static IpAddressGroup fromJson(JsonReader jsonReader)
Reads an instance of IpAddressGroup from the JsonReader.
Parameters:
Returns:
Throws:
ipv4Addresses
public List
Get the ipv4Addresses property: The list of ip v4 addresses.
Returns:
ipv6Addresses
public List
Get the ipv6Addresses property: The list of ip v6 addresses.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDeliveryRegion
public IpAddressGroup withDeliveryRegion(String deliveryRegion)
Set the deliveryRegion property: The delivery region of the ip address group.
Parameters:
Returns:
withIpv4Addresses
public IpAddressGroup withIpv4Addresses(List
Set the ipv4Addresses property: The list of ip v4 addresses.
Parameters:
Returns:
withIpv6Addresses
public IpAddressGroup withIpv6Addresses(List
Set the ipv6Addresses property: The list of ip v6 addresses.
Parameters:
Returns: