Class TrinoUserPlugins
java.lang.Object
com.azure.resourcemanager.hdinsight.containers.models.TrinoUserPlugins
- All Implemented Interfaces:
com.azure.json.JsonSerializable<TrinoUserPlugins>
public final class TrinoUserPlugins
extends Object
implements com.azure.json.JsonSerializable<TrinoUserPlugins>
Trino user plugins spec.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TrinoUserPluginsfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of TrinoUserPlugins from the JsonReader.plugins()Get the plugins property: Trino user plugins.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withPlugins(List<TrinoUserPlugin> plugins) Set the plugins property: Trino user plugins.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
TrinoUserPlugins
public TrinoUserPlugins()Creates an instance of TrinoUserPlugins class.
-
-
Method Details
-
plugins
Get the plugins property: Trino user plugins.- Returns:
- the plugins value.
-
withPlugins
Set the plugins property: Trino user plugins.- Parameters:
plugins- the plugins value to set.- Returns:
- the TrinoUserPlugins object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<TrinoUserPlugins>- Throws:
IOException
-
fromJson
Reads an instance of TrinoUserPlugins from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of TrinoUserPlugins if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the TrinoUserPlugins.
-