Class ManagedCassandraReaperStatus
java.lang.Object
com.azure.resourcemanager.cosmos.models.ManagedCassandraReaperStatus
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ManagedCassandraReaperStatus>
public final class ManagedCassandraReaperStatus
extends Object
implements com.azure.json.JsonSerializable<ManagedCassandraReaperStatus>
The ManagedCassandraReaperStatus model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedCassandraReaperStatus class. -
Method Summary
Modifier and TypeMethodDescriptionstatic ManagedCassandraReaperStatus
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of ManagedCassandraReaperStatus from the JsonReader.healthy()
Get the healthy property: The healthy property.Get the repairRunIds property: Dictionary of <string>.Get the repairSchedules property: Dictionary of <string>.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withHealthy
(Boolean healthy) Set the healthy property: The healthy property.withRepairRunIds
(Map<String, String> repairRunIds) Set the repairRunIds property: Dictionary of <string>.withRepairSchedules
(Map<String, String> repairSchedules) Set the repairSchedules property: Dictionary of <string>.Methods inherited from class java.lang.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
-
ManagedCassandraReaperStatus
public ManagedCassandraReaperStatus()Creates an instance of ManagedCassandraReaperStatus class.
-
-
Method Details
-
healthy
Get the healthy property: The healthy property.- Returns:
- the healthy value.
-
withHealthy
Set the healthy property: The healthy property.- Parameters:
healthy
- the healthy value to set.- Returns:
- the ManagedCassandraReaperStatus object itself.
-
repairRunIds
Get the repairRunIds property: Dictionary of <string>.- Returns:
- the repairRunIds value.
-
withRepairRunIds
Set the repairRunIds property: Dictionary of <string>.- Parameters:
repairRunIds
- the repairRunIds value to set.- Returns:
- the ManagedCassandraReaperStatus object itself.
-
repairSchedules
Get the repairSchedules property: Dictionary of <string>.- Returns:
- the repairSchedules value.
-
withRepairSchedules
Set the repairSchedules property: Dictionary of <string>.- Parameters:
repairSchedules
- the repairSchedules value to set.- Returns:
- the ManagedCassandraReaperStatus object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<ManagedCassandraReaperStatus>
- Throws:
IOException
-
fromJson
public static ManagedCassandraReaperStatus fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ManagedCassandraReaperStatus from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of ManagedCassandraReaperStatus if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException
- If an error occurs while reading the ManagedCassandraReaperStatus.
-