Class PrivateIpAddress

java.lang.Object
com.azure.resourcemanager.sqlvirtualmachine.models.PrivateIpAddress

public final class PrivateIpAddress extends Object
A private IP address bound to the availability group listener.
  • Constructor Details

    • PrivateIpAddress

      public PrivateIpAddress()
  • Method Details

    • ipAddress

      public String ipAddress()
      Get the ipAddress property: Private IP address bound to the availability group listener.
      Returns:
      the ipAddress value.
    • withIpAddress

      public PrivateIpAddress withIpAddress(String ipAddress)
      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

      public String subnetResourceId()
      Get the subnetResourceId property: Subnet used to include private IP.
      Returns:
      the subnetResourceId value.
    • withSubnetResourceId

      public PrivateIpAddress withSubnetResourceId(String subnetResourceId)
      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.