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 -
Method Summary
Modifier and TypeMethodDescriptionGet the clusterPoolVersion property: Cluster pool version is a 2-part version.static ClusterPoolProfilefromJson(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.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()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, waitMethods 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
Get the clusterPoolVersion property: Cluster pool version is a 2-part version.- Returns:
- the clusterPoolVersion value.
-
withClusterPoolVersion
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
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
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
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ClusterPoolProfile>- Throws:
IOException
-
fromJson
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.
-