Class TrinoProfile
java.lang.Object
com.azure.resourcemanager.hdinsight.containers.models.TrinoProfile
- All Implemented Interfaces:
com.azure.json.JsonSerializable<TrinoProfile>
public final class TrinoProfile
extends Object
implements com.azure.json.JsonSerializable<TrinoProfile>
Trino Cluster profile.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the catalogOptions property: Trino cluster catalog options.Get the coordinator property: Trino Coordinator.static TrinoProfilefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of TrinoProfile from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Get the userPluginsSpec property: Trino user plugins spec.Get the userTelemetrySpec property: User telemetry.voidvalidate()Validates the instance.withCatalogOptions(CatalogOptions catalogOptions) Set the catalogOptions property: Trino cluster catalog options.withCoordinator(TrinoCoordinator coordinator) Set the coordinator property: Trino Coordinator.withUserPluginsSpec(TrinoUserPlugins userPluginsSpec) Set the userPluginsSpec property: Trino user plugins spec.withUserTelemetrySpec(TrinoUserTelemetry userTelemetrySpec) Set the userTelemetrySpec property: User telemetry.withWorker(TrinoWorker worker) Set the worker property: Trino worker.worker()Get the worker property: Trino worker.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
-
TrinoProfile
public TrinoProfile()Creates an instance of TrinoProfile class.
-
-
Method Details
-
catalogOptions
Get the catalogOptions property: Trino cluster catalog options.- Returns:
- the catalogOptions value.
-
withCatalogOptions
Set the catalogOptions property: Trino cluster catalog options.- Parameters:
catalogOptions- the catalogOptions value to set.- Returns:
- the TrinoProfile object itself.
-
coordinator
Get the coordinator property: Trino Coordinator.- Returns:
- the coordinator value.
-
withCoordinator
Set the coordinator property: Trino Coordinator.- Parameters:
coordinator- the coordinator value to set.- Returns:
- the TrinoProfile object itself.
-
userPluginsSpec
Get the userPluginsSpec property: Trino user plugins spec.- Returns:
- the userPluginsSpec value.
-
withUserPluginsSpec
Set the userPluginsSpec property: Trino user plugins spec.- Parameters:
userPluginsSpec- the userPluginsSpec value to set.- Returns:
- the TrinoProfile object itself.
-
userTelemetrySpec
Get the userTelemetrySpec property: User telemetry.- Returns:
- the userTelemetrySpec value.
-
withUserTelemetrySpec
Set the userTelemetrySpec property: User telemetry.- Parameters:
userTelemetrySpec- the userTelemetrySpec value to set.- Returns:
- the TrinoProfile object itself.
-
worker
-
withWorker
Set the worker property: Trino worker.- Parameters:
worker- the worker value to set.- Returns:
- the TrinoProfile 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<TrinoProfile>- Throws:
IOException
-
fromJson
Reads an instance of TrinoProfile from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of TrinoProfile 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 TrinoProfile.
-