Class CidrIpAddress
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.CidrIpAddress
-
public final class CidrIpAddress extends Object
CIDR Ip address.
-
-
Constructor Summary
Constructors Constructor Description CidrIpAddress()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbaseIpAddress()Get the baseIpAddress property: Ip address itself.IntegerprefixLength()Get the prefixLength property: The length of the prefix of the ip address.voidvalidate()Validates the instance.CidrIpAddresswithBaseIpAddress(String baseIpAddress)Set the baseIpAddress property: Ip address itself.CidrIpAddresswithPrefixLength(Integer prefixLength)Set the prefixLength property: The length of the prefix of the ip address.
-
-
-
Method Detail
-
baseIpAddress
public String baseIpAddress()
Get the baseIpAddress property: Ip address itself.- Returns:
- the baseIpAddress value.
-
withBaseIpAddress
public CidrIpAddress withBaseIpAddress(String baseIpAddress)
Set the baseIpAddress property: Ip address itself.- Parameters:
baseIpAddress- the baseIpAddress value to set.- Returns:
- the CidrIpAddress object itself.
-
prefixLength
public Integer prefixLength()
Get the prefixLength property: The length of the prefix of the ip address.- Returns:
- the prefixLength value.
-
withPrefixLength
public CidrIpAddress withPrefixLength(Integer prefixLength)
Set the prefixLength property: The length of the prefix of the ip address.- Parameters:
prefixLength- the prefixLength value to set.- Returns:
- the CidrIpAddress object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-