Class QueryTextInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.mariadb.fluent.models.QueryTextInner
public final class QueryTextInner
extends com.azure.core.management.ProxyResource
Represents 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.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
QueryTextInner
public QueryTextInner()Creates an instance of QueryTextInner 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 QueryTextInner 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 QueryTextInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-