Class ManagedInstanceQueryInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.sql.fluent.models.ManagedInstanceQueryInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class ManagedInstanceQueryInner
extends com.azure.core.management.ProxyResource
Database query.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedInstanceQueryInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the queryText property: Query text.voidvalidate()Validates the instance.withQueryText(String queryText) Set the queryText property: Query text.Methods inherited from class com.azure.core.management.ProxyResource
fromJson, id, name, toJson, type
-
Constructor Details
-
ManagedInstanceQueryInner
public ManagedInstanceQueryInner()Creates an instance of ManagedInstanceQueryInner class.
-
-
Method Details
-
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 ManagedInstanceQueryInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-