Class ClusterPoolResourcePropertiesClusterPoolProfile
java.lang.Object
com.azure.resourcemanager.hdinsight.containers.models.ClusterPoolProfile
com.azure.resourcemanager.hdinsight.containers.models.ClusterPoolResourcePropertiesClusterPoolProfile
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ClusterPoolProfile>
CLuster pool profile.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ClusterPoolResourcePropertiesClusterPoolProfile class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ClusterPoolResourcePropertiesClusterPoolProfile from the JsonReader.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 ClusterPoolProfile
clusterPoolVersion, publicIpTagMethods 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
-
ClusterPoolResourcePropertiesClusterPoolProfile
public ClusterPoolResourcePropertiesClusterPoolProfile()Creates an instance of ClusterPoolResourcePropertiesClusterPoolProfile class.
-
-
Method Details
-
withClusterPoolVersion
public ClusterPoolResourcePropertiesClusterPoolProfile withClusterPoolVersion(String clusterPoolVersion) Set the clusterPoolVersion property: Cluster pool version is a 2-part version.- Overrides:
withClusterPoolVersionin classClusterPoolProfile- Parameters:
clusterPoolVersion- the clusterPoolVersion value to set.- Returns:
- the ClusterPoolProfile object itself.
-
withPublicIpTag
Set the publicIpTag property: Gets or sets the IP tag for the public IPs created along with the HDInsightOnAks ClusterPools and Clusters.- Overrides:
withPublicIpTagin classClusterPoolProfile- Parameters:
publicIpTag- the publicIpTag value to set.- Returns:
- the ClusterPoolProfile object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classClusterPoolProfile- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ClusterPoolProfile>- Overrides:
toJsonin classClusterPoolProfile- Throws:
IOException
-
fromJson
public static ClusterPoolResourcePropertiesClusterPoolProfile fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ClusterPoolResourcePropertiesClusterPoolProfile from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ClusterPoolResourcePropertiesClusterPoolProfile 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 ClusterPoolResourcePropertiesClusterPoolProfile.
-