public final class PrivateIpAddress extends Object
Constructor and Description |
---|
PrivateIpAddress() |
Modifier and Type | Method and Description |
---|---|
String |
ipAddress()
Get the ipAddress property: Private IP address bound to the availability group listener.
|
String |
subnetResourceId()
Get the subnetResourceId property: Subnet used to include private IP.
|
void |
validate()
Validates the instance.
|
PrivateIpAddress |
withIpAddress(String ipAddress)
Set the ipAddress property: Private IP address bound to the availability group listener.
|
PrivateIpAddress |
withSubnetResourceId(String subnetResourceId)
Set the subnetResourceId property: Subnet used to include private IP.
|
public String ipAddress()
public PrivateIpAddress withIpAddress(String ipAddress)
ipAddress
- the ipAddress value to set.public String subnetResourceId()
public PrivateIpAddress withSubnetResourceId(String subnetResourceId)
subnetResourceId
- the subnetResourceId value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.