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 Details

    • TrinoProfile

      public TrinoProfile()
      Creates an instance of TrinoProfile class.
  • Method Details

    • catalogOptions

      public CatalogOptions catalogOptions()
      Get the catalogOptions property: Trino cluster catalog options.
      Returns:
      the catalogOptions value.
    • withCatalogOptions

      public TrinoProfile withCatalogOptions(CatalogOptions catalogOptions)
      Set the catalogOptions property: Trino cluster catalog options.
      Parameters:
      catalogOptions - the catalogOptions value to set.
      Returns:
      the TrinoProfile object itself.
    • coordinator

      public TrinoCoordinator coordinator()
      Get the coordinator property: Trino Coordinator.
      Returns:
      the coordinator value.
    • withCoordinator

      public TrinoProfile withCoordinator(TrinoCoordinator coordinator)
      Set the coordinator property: Trino Coordinator.
      Parameters:
      coordinator - the coordinator value to set.
      Returns:
      the TrinoProfile object itself.
    • userPluginsSpec

      public TrinoUserPlugins userPluginsSpec()
      Get the userPluginsSpec property: Trino user plugins spec.
      Returns:
      the userPluginsSpec value.
    • withUserPluginsSpec

      public TrinoProfile withUserPluginsSpec(TrinoUserPlugins userPluginsSpec)
      Set the userPluginsSpec property: Trino user plugins spec.
      Parameters:
      userPluginsSpec - the userPluginsSpec value to set.
      Returns:
      the TrinoProfile object itself.
    • userTelemetrySpec

      public TrinoUserTelemetry userTelemetrySpec()
      Get the userTelemetrySpec property: User telemetry.
      Returns:
      the userTelemetrySpec value.
    • withUserTelemetrySpec

      public TrinoProfile withUserTelemetrySpec(TrinoUserTelemetry userTelemetrySpec)
      Set the userTelemetrySpec property: User telemetry.
      Parameters:
      userTelemetrySpec - the userTelemetrySpec value to set.
      Returns:
      the TrinoProfile object itself.
    • worker

      public TrinoWorker worker()
      Get the worker property: Trino worker.
      Returns:
      the worker value.
    • withWorker

      public TrinoProfile withWorker(TrinoWorker worker)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<TrinoProfile>
      Throws:
      IOException
    • fromJson

      public static TrinoProfile fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.