StatusCodeCount Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. StatusCodeCount
- com.
Implements
public final class StatusCodeCount
implements JsonSerializable<StatusCodeCount>
The status code and count of the cloud service instance view statuses.
Constructor Summary
Constructor | Description |
---|---|
StatusCodeCount() |
Creates an instance of Status |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
code()
Get the code property: The instance view status code. |
Integer |
count()
Get the count property: Number of instances having this status code. |
static
Status |
fromJson(JsonReader jsonReader)
Reads an instance of Status |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
StatusCodeCount
public StatusCodeCount()
Creates an instance of StatusCodeCount class.
Method Details
code
public String code()
Get the code property: The instance view status code.
Returns:
count
public Integer count()
Get the count property: Number of instances having this status code.
Returns:
fromJson
public static StatusCodeCount fromJson(JsonReader jsonReader)
Reads an instance of StatusCodeCount from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java