Class ServerInfo

java.lang.Object
com.azure.resourcemanager.sql.models.ServerInfo

public final class ServerInfo extends Object
Server info for the server trust group.
  • Constructor Details

    • ServerInfo

      public ServerInfo()
      Creates an instance of ServerInfo class.
  • Method Details

    • serverId

      public String serverId()
      Get the serverId property: Server Id.
      Returns:
      the serverId value.
    • withServerId

      public ServerInfo withServerId(String serverId)
      Set the serverId property: Server Id.
      Parameters:
      serverId - the serverId value to set.
      Returns:
      the ServerInfo object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.