Class PrivateIpAddress
java.lang.Object
com.azure.resourcemanager.sqlvirtualmachine.models.PrivateIpAddress
A private IP address bound to the availability group listener.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the ipAddress property: Private IP address bound to the availability group listener.Get the subnetResourceId property: Subnet used to include private IP.void
validate()
Validates the instance.withIpAddress
(String ipAddress) Set the ipAddress property: Private IP address bound to the availability group listener.withSubnetResourceId
(String subnetResourceId) Set the subnetResourceId property: Subnet used to include private IP.
-
Constructor Details
-
PrivateIpAddress
public PrivateIpAddress()
-
-
Method Details
-
ipAddress
Get the ipAddress property: Private IP address bound to the availability group listener.- Returns:
- the ipAddress value.
-
withIpAddress
Set the ipAddress property: Private IP address bound to the availability group listener.- Parameters:
ipAddress
- the ipAddress value to set.- Returns:
- the PrivateIpAddress object itself.
-
subnetResourceId
Get the subnetResourceId property: Subnet used to include private IP.- Returns:
- the subnetResourceId value.
-
withSubnetResourceId
Set the subnetResourceId property: Subnet used to include private IP.- Parameters:
subnetResourceId
- the subnetResourceId value to set.- Returns:
- the PrivateIpAddress object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-