Class QueryTextProperties
java.lang.Object
com.azure.resourcemanager.mariadb.fluent.models.QueryTextProperties
The properties of a query text.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionqueryId()
Get the queryId property: Query identifier unique to the server.Get the queryText property: Query text.void
validate()
Validates the instance.withQueryId
(String queryId) Set the queryId property: Query identifier unique to the server.withQueryText
(String queryText) Set the queryText property: Query text.
-
Constructor Details
-
QueryTextProperties
public QueryTextProperties()Creates an instance of QueryTextProperties class.
-
-
Method Details
-
queryId
Get the queryId property: Query identifier unique to the server.- Returns:
- the queryId value.
-
withQueryId
Set the queryId property: Query identifier unique to the server.- Parameters:
queryId
- the queryId value to set.- Returns:
- the QueryTextProperties object itself.
-
queryText
Get the queryText property: Query text.- Returns:
- the queryText value.
-
withQueryText
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.
-