Class CidrIpAddress
java.lang.Object
com.azure.resourcemanager.cdn.models.CidrIpAddress
CIDR Ip address.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the baseIpAddress property: Ip address itself.Get the prefixLength property: The length of the prefix of the ip address.voidvalidate()Validates the instance.withBaseIpAddress(String baseIpAddress) Set the baseIpAddress property: Ip address itself.withPrefixLength(Integer prefixLength) Set the prefixLength property: The length of the prefix of the ip address.
-
Constructor Details
-
CidrIpAddress
public CidrIpAddress()
-
-
Method Details
-
baseIpAddress
Get the baseIpAddress property: Ip address itself.- Returns:
- the baseIpAddress value.
-
withBaseIpAddress
Set the baseIpAddress property: Ip address itself.- Parameters:
baseIpAddress- the baseIpAddress value to set.- Returns:
- the CidrIpAddress object itself.
-
prefixLength
Get the prefixLength property: The length of the prefix of the ip address.- Returns:
- the prefixLength value.
-
withPrefixLength
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.
-