public final class CidrIpAddress extends Object
| Constructor and Description |
|---|
CidrIpAddress() |
| Modifier and Type | Method and Description |
|---|---|
String |
baseIpAddress()
Get the baseIpAddress property: Ip address itself.
|
Integer |
prefixLength()
Get the prefixLength property: The length of the prefix of the ip address.
|
void |
validate()
Validates the instance.
|
CidrIpAddress |
withBaseIpAddress(String baseIpAddress)
Set the baseIpAddress property: Ip address itself.
|
CidrIpAddress |
withPrefixLength(Integer prefixLength)
Set the prefixLength property: The length of the prefix of the ip address.
|
public String baseIpAddress()
public CidrIpAddress withBaseIpAddress(String baseIpAddress)
baseIpAddress - the baseIpAddress value to set.public Integer prefixLength()
public CidrIpAddress withPrefixLength(Integer prefixLength)
prefixLength - the prefixLength value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.