Class ClusterPoolProfile

java.lang.Object
com.azure.resourcemanager.hdinsight.containers.models.ClusterPoolProfile
All Implemented Interfaces:
com.azure.json.JsonSerializable<ClusterPoolProfile>
Direct Known Subclasses:
ClusterPoolResourcePropertiesClusterPoolProfile

public class ClusterPoolProfile extends Object implements com.azure.json.JsonSerializable<ClusterPoolProfile>
Cluster pool profile.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of ClusterPoolProfile class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the clusterPoolVersion property: Cluster pool version is a 2-part version.
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of ClusterPoolProfile from the JsonReader.
    Get the publicIpTag property: Gets or sets the IP tag for the public IPs created along with the HDInsightOnAks ClusterPools and Clusters.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    void
    Validates the instance.
    withClusterPoolVersion(String clusterPoolVersion)
    Set the clusterPoolVersion property: Cluster pool version is a 2-part version.
    withPublicIpTag(IpTag publicIpTag)
    Set the publicIpTag property: Gets or sets the IP tag for the public IPs created along with the HDInsightOnAks ClusterPools and Clusters.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.azure.json.JsonSerializable

    toJson, toJson, toJsonBytes, toJsonString
  • Constructor Details

    • ClusterPoolProfile

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

    • clusterPoolVersion

      public String clusterPoolVersion()
      Get the clusterPoolVersion property: Cluster pool version is a 2-part version.
      Returns:
      the clusterPoolVersion value.
    • withClusterPoolVersion

      public ClusterPoolProfile withClusterPoolVersion(String clusterPoolVersion)
      Set the clusterPoolVersion property: Cluster pool version is a 2-part version.
      Parameters:
      clusterPoolVersion - the clusterPoolVersion value to set.
      Returns:
      the ClusterPoolProfile object itself.
    • publicIpTag

      public IpTag publicIpTag()
      Get the publicIpTag property: Gets or sets the IP tag for the public IPs created along with the HDInsightOnAks ClusterPools and Clusters.
      Returns:
      the publicIpTag value.
    • withPublicIpTag

      public ClusterPoolProfile withPublicIpTag(IpTag publicIpTag)
      Set the publicIpTag property: Gets or sets the IP tag for the public IPs created along with the HDInsightOnAks ClusterPools and Clusters.
      Parameters:
      publicIpTag - the publicIpTag value to set.
      Returns:
      the ClusterPoolProfile 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<ClusterPoolProfile>
      Throws:
      IOException
    • fromJson

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