Class UpdatableClusterProfile

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

public final class UpdatableClusterProfile extends Object implements com.azure.json.JsonSerializable<UpdatableClusterProfile>
Cluster resource patch properties.
  • Constructor Details

    • UpdatableClusterProfile

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

    • serviceConfigsProfiles

      public List<ClusterServiceConfigsProfile> serviceConfigsProfiles()
      Get the serviceConfigsProfiles property: The service configs profiles.
      Returns:
      the serviceConfigsProfiles value.
    • withServiceConfigsProfiles

      public UpdatableClusterProfile withServiceConfigsProfiles(List<ClusterServiceConfigsProfile> serviceConfigsProfiles)
      Set the serviceConfigsProfiles property: The service configs profiles.
      Parameters:
      serviceConfigsProfiles - the serviceConfigsProfiles value to set.
      Returns:
      the UpdatableClusterProfile object itself.
    • sshProfile

      public SshProfile sshProfile()
      Get the sshProfile property: Ssh profile for the cluster.
      Returns:
      the sshProfile value.
    • withSshProfile

      public UpdatableClusterProfile withSshProfile(SshProfile sshProfile)
      Set the sshProfile property: Ssh profile for the cluster.
      Parameters:
      sshProfile - the sshProfile value to set.
      Returns:
      the UpdatableClusterProfile object itself.
    • autoscaleProfile

      public AutoscaleProfile autoscaleProfile()
      Get the autoscaleProfile property: This is the Autoscale profile for the cluster. This will allow customer to create cluster enabled with Autoscale.
      Returns:
      the autoscaleProfile value.
    • withAutoscaleProfile

      public UpdatableClusterProfile withAutoscaleProfile(AutoscaleProfile autoscaleProfile)
      Set the autoscaleProfile property: This is the Autoscale profile for the cluster. This will allow customer to create cluster enabled with Autoscale.
      Parameters:
      autoscaleProfile - the autoscaleProfile value to set.
      Returns:
      the UpdatableClusterProfile object itself.
    • authorizationProfile

      public AuthorizationProfile authorizationProfile()
      Get the authorizationProfile property: Authorization profile with details of AAD user Ids and group Ids authorized for data plane access.
      Returns:
      the authorizationProfile value.
    • withAuthorizationProfile

      public UpdatableClusterProfile withAuthorizationProfile(AuthorizationProfile authorizationProfile)
      Set the authorizationProfile property: Authorization profile with details of AAD user Ids and group Ids authorized for data plane access.
      Parameters:
      authorizationProfile - the authorizationProfile value to set.
      Returns:
      the UpdatableClusterProfile object itself.
    • logAnalyticsProfile

      public ClusterLogAnalyticsProfile logAnalyticsProfile()
      Get the logAnalyticsProfile property: Cluster log analytics profile to enable or disable OMS agent for cluster.
      Returns:
      the logAnalyticsProfile value.
    • withLogAnalyticsProfile

      public UpdatableClusterProfile withLogAnalyticsProfile(ClusterLogAnalyticsProfile logAnalyticsProfile)
      Set the logAnalyticsProfile property: Cluster log analytics profile to enable or disable OMS agent for cluster.
      Parameters:
      logAnalyticsProfile - the logAnalyticsProfile value to set.
      Returns:
      the UpdatableClusterProfile object itself.
    • prometheusProfile

      public ClusterPrometheusProfile prometheusProfile()
      Get the prometheusProfile property: Cluster Prometheus profile.
      Returns:
      the prometheusProfile value.
    • withPrometheusProfile

      public UpdatableClusterProfile withPrometheusProfile(ClusterPrometheusProfile prometheusProfile)
      Set the prometheusProfile property: Cluster Prometheus profile.
      Parameters:
      prometheusProfile - the prometheusProfile value to set.
      Returns:
      the UpdatableClusterProfile object itself.
    • rangerPluginProfile

      public ClusterRangerPluginProfile rangerPluginProfile()
      Get the rangerPluginProfile property: Cluster Ranger plugin profile.
      Returns:
      the rangerPluginProfile value.
    • withRangerPluginProfile

      public UpdatableClusterProfile withRangerPluginProfile(ClusterRangerPluginProfile rangerPluginProfile)
      Set the rangerPluginProfile property: Cluster Ranger plugin profile.
      Parameters:
      rangerPluginProfile - the rangerPluginProfile value to set.
      Returns:
      the UpdatableClusterProfile object itself.
    • rangerProfile

      public RangerProfile rangerProfile()
      Get the rangerProfile property: The ranger cluster profile.
      Returns:
      the rangerProfile value.
    • withRangerProfile

      public UpdatableClusterProfile withRangerProfile(RangerProfile rangerProfile)
      Set the rangerProfile property: The ranger cluster profile.
      Parameters:
      rangerProfile - the rangerProfile value to set.
      Returns:
      the UpdatableClusterProfile object itself.
    • scriptActionProfiles

      public List<ScriptActionProfile> scriptActionProfiles()
      Get the scriptActionProfiles property: The script action profile list.
      Returns:
      the scriptActionProfiles value.
    • withScriptActionProfiles

      public UpdatableClusterProfile withScriptActionProfiles(List<ScriptActionProfile> scriptActionProfiles)
      Set the scriptActionProfiles property: The script action profile list.
      Parameters:
      scriptActionProfiles - the scriptActionProfiles value to set.
      Returns:
      the UpdatableClusterProfile object itself.
    • secretsProfile

      public SecretsProfile secretsProfile()
      Get the secretsProfile property: The cluster secret profile.
      Returns:
      the secretsProfile value.
    • withSecretsProfile

      public UpdatableClusterProfile withSecretsProfile(SecretsProfile secretsProfile)
      Set the secretsProfile property: The cluster secret profile.
      Parameters:
      secretsProfile - the secretsProfile value to set.
      Returns:
      the UpdatableClusterProfile object itself.
    • trinoProfile

      public TrinoProfile trinoProfile()
      Get the trinoProfile property: Trino Cluster profile.
      Returns:
      the trinoProfile value.
    • withTrinoProfile

      public UpdatableClusterProfile withTrinoProfile(TrinoProfile trinoProfile)
      Set the trinoProfile property: Trino Cluster profile.
      Parameters:
      trinoProfile - the trinoProfile value to set.
      Returns:
      the UpdatableClusterProfile 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<UpdatableClusterProfile>
      Throws:
      IOException
    • fromJson

      public static UpdatableClusterProfile fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of UpdatableClusterProfile from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of UpdatableClusterProfile 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 UpdatableClusterProfile.