Class ClusterInstanceViewProperties
java.lang.Object
com.azure.resourcemanager.hdinsight.containers.models.ClusterInstanceViewProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ClusterInstanceViewProperties>
- Direct Known Subclasses:
ClusterInstanceViewResultProperties
public class ClusterInstanceViewProperties
extends Object
implements com.azure.json.JsonSerializable<ClusterInstanceViewProperties>
Cluster Instance View Properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ClusterInstanceViewProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ClusterInstanceViewProperties from the JsonReader.Get the serviceStatuses property: List of statuses of relevant services that make up the HDInsight on AKS cluster to surface to the customer.status()Get the status property: Status of the instance view.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withServiceStatuses(List<ServiceStatus> serviceStatuses) Set the serviceStatuses property: List of statuses of relevant services that make up the HDInsight on AKS cluster to surface to the customer.Set the status property: Status of the instance view.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
-
ClusterInstanceViewProperties
public ClusterInstanceViewProperties()Creates an instance of ClusterInstanceViewProperties class.
-
-
Method Details
-
status
Get the status property: Status of the instance view.- Returns:
- the status value.
-
withStatus
Set the status property: Status of the instance view.- Parameters:
status- the status value to set.- Returns:
- the ClusterInstanceViewProperties object itself.
-
serviceStatuses
Get the serviceStatuses property: List of statuses of relevant services that make up the HDInsight on AKS cluster to surface to the customer.- Returns:
- the serviceStatuses value.
-
withServiceStatuses
Set the serviceStatuses property: List of statuses of relevant services that make up the HDInsight on AKS cluster to surface to the customer.- Parameters:
serviceStatuses- the serviceStatuses value to set.- Returns:
- the ClusterInstanceViewProperties 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<ClusterInstanceViewProperties>- Throws:
IOException
-
fromJson
public static ClusterInstanceViewProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ClusterInstanceViewProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ClusterInstanceViewProperties 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 ClusterInstanceViewProperties.
-