public final class IpAddress extends Object
Constructor and Description |
---|
IpAddress() |
Modifier and Type | Method and Description |
---|---|
String |
address()
Get the address property: The address.
|
void |
validate()
Validates the instance.
|
IpAddress |
withAddress(String address)
Set the address property: The address.
|
public String address()
public IpAddress withAddress(String address)
address
- the address value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.