CidrIpAddress Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. models. CidrIpAddress
- com.
Implements
public final class CidrIpAddress
implements JsonSerializable<CidrIpAddress>
CIDR Ip address.
Constructor Summary
Constructor | Description |
---|---|
CidrIpAddress() |
Creates an instance of Cidr |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
baseIpAddress()
Get the base |
static
Cidr |
fromJson(JsonReader jsonReader)
Reads an instance of Cidr |
Integer |
prefixLength()
Get the prefix |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Cidr |
withBaseIpAddress(String baseIpAddress)
Set the base |
Cidr |
withPrefixLength(Integer prefixLength)
Set the prefix |
Methods inherited from java.lang.Object
Constructor Details
CidrIpAddress
public CidrIpAddress()
Creates an instance of CidrIpAddress class.
Method Details
baseIpAddress
public String baseIpAddress()
Get the baseIpAddress property: Ip address itself.
Returns:
fromJson
public static CidrIpAddress fromJson(JsonReader jsonReader)
Reads an instance of CidrIpAddress from the JsonReader.
Parameters:
Returns:
Throws:
prefixLength
public Integer prefixLength()
Get the prefixLength property: The length of the prefix of the ip address.
Returns:
toJson
validate
public void validate()
Validates the instance.
withBaseIpAddress
public CidrIpAddress withBaseIpAddress(String baseIpAddress)
Set the baseIpAddress property: Ip address itself.
Parameters:
Returns:
withPrefixLength
public CidrIpAddress withPrefixLength(Integer prefixLength)
Set the prefixLength property: The length of the prefix of the ip address.
Parameters:
Returns: