Class FlinkHiveCatalogOption

java.lang.Object
com.azure.resourcemanager.hdinsight.containers.models.FlinkHiveCatalogOption
All Implemented Interfaces:
com.azure.json.JsonSerializable<FlinkHiveCatalogOption>

public final class FlinkHiveCatalogOption extends Object implements com.azure.json.JsonSerializable<FlinkHiveCatalogOption>
Hive Catalog Option for Flink cluster.
  • Constructor Details

    • FlinkHiveCatalogOption

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

    • metastoreDbConnectionAuthenticationMode

      public MetastoreDbConnectionAuthenticationMode metastoreDbConnectionAuthenticationMode()
      Get the metastoreDbConnectionAuthenticationMode property: The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manage?view=azuresql#authentication-and-authorization.
      Returns:
      the metastoreDbConnectionAuthenticationMode value.
    • withMetastoreDbConnectionAuthenticationMode

      public FlinkHiveCatalogOption withMetastoreDbConnectionAuthenticationMode(MetastoreDbConnectionAuthenticationMode metastoreDbConnectionAuthenticationMode)
      Set the metastoreDbConnectionAuthenticationMode property: The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manage?view=azuresql#authentication-and-authorization.
      Parameters:
      metastoreDbConnectionAuthenticationMode - the metastoreDbConnectionAuthenticationMode value to set.
      Returns:
      the FlinkHiveCatalogOption object itself.
    • metastoreDbConnectionPasswordSecret

      public String metastoreDbConnectionPasswordSecret()
      Get the metastoreDbConnectionPasswordSecret property: Secret reference name from secretsProfile.secrets containing password for database connection.
      Returns:
      the metastoreDbConnectionPasswordSecret value.
    • withMetastoreDbConnectionPasswordSecret

      public FlinkHiveCatalogOption withMetastoreDbConnectionPasswordSecret(String metastoreDbConnectionPasswordSecret)
      Set the metastoreDbConnectionPasswordSecret property: Secret reference name from secretsProfile.secrets containing password for database connection.
      Parameters:
      metastoreDbConnectionPasswordSecret - the metastoreDbConnectionPasswordSecret value to set.
      Returns:
      the FlinkHiveCatalogOption object itself.
    • metastoreDbConnectionUrl

      public String metastoreDbConnectionUrl()
      Get the metastoreDbConnectionUrl property: Connection string for hive metastore database.
      Returns:
      the metastoreDbConnectionUrl value.
    • withMetastoreDbConnectionUrl

      public FlinkHiveCatalogOption withMetastoreDbConnectionUrl(String metastoreDbConnectionUrl)
      Set the metastoreDbConnectionUrl property: Connection string for hive metastore database.
      Parameters:
      metastoreDbConnectionUrl - the metastoreDbConnectionUrl value to set.
      Returns:
      the FlinkHiveCatalogOption object itself.
    • metastoreDbConnectionUsername

      public String metastoreDbConnectionUsername()
      Get the metastoreDbConnectionUsername property: User name for database connection.
      Returns:
      the metastoreDbConnectionUsername value.
    • withMetastoreDbConnectionUsername

      public FlinkHiveCatalogOption withMetastoreDbConnectionUsername(String metastoreDbConnectionUsername)
      Set the metastoreDbConnectionUsername property: User name for database connection.
      Parameters:
      metastoreDbConnectionUsername - the metastoreDbConnectionUsername value to set.
      Returns:
      the FlinkHiveCatalogOption 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<FlinkHiveCatalogOption>
      Throws:
      IOException
    • fromJson

      public static FlinkHiveCatalogOption fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of FlinkHiveCatalogOption from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of FlinkHiveCatalogOption if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the FlinkHiveCatalogOption.