Class QueryTextProperties

java.lang.Object
com.azure.resourcemanager.mariadb.fluent.models.QueryTextProperties

public final class QueryTextProperties extends Object
The properties of a query text.
  • Constructor Details

    • QueryTextProperties

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

    • queryId

      public String queryId()
      Get the queryId property: Query identifier unique to the server.
      Returns:
      the queryId value.
    • withQueryId

      public QueryTextProperties withQueryId(String queryId)
      Set the queryId property: Query identifier unique to the server.
      Parameters:
      queryId - the queryId value to set.
      Returns:
      the QueryTextProperties object itself.
    • queryText

      public String queryText()
      Get the queryText property: Query text.
      Returns:
      the queryText value.
    • withQueryText

      public QueryTextProperties withQueryText(String queryText)
      Set the queryText property: Query text.
      Parameters:
      queryText - the queryText value to set.
      Returns:
      the QueryTextProperties object itself.
    • validate

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