Partager via


ManagedCassandraReaperStatus Class

  • java.lang.Object
    • com.azure.resourcemanager.cosmos.models.ManagedCassandraReaperStatus

Implements

public final class ManagedCassandraReaperStatus
implements JsonSerializable<ManagedCassandraReaperStatus>

The ManagedCassandraReaperStatus model.

Constructor Summary

Constructor Description
ManagedCassandraReaperStatus()

Creates an instance of ManagedCassandraReaperStatus class.

Method Summary

Modifier and Type Method and Description
static ManagedCassandraReaperStatus fromJson(JsonReader jsonReader)

Reads an instance of ManagedCassandraReaperStatus from the JsonReader.

Boolean healthy()

Get the healthy property: The healthy property.

Map<String,String> repairRunIds()

Get the repairRunIds property: Dictionary of <string>.

Map<String,String> repairSchedules()

Get the repairSchedules property: Dictionary of <string>.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedCassandraReaperStatus withHealthy(Boolean healthy)

Set the healthy property: The healthy property.

ManagedCassandraReaperStatus withRepairRunIds(Map<String,String> repairRunIds)

Set the repairRunIds property: Dictionary of <string>.

ManagedCassandraReaperStatus withRepairSchedules(Map<String,String> repairSchedules)

Set the repairSchedules property: Dictionary of <string>.

Methods inherited from java.lang.Object

Constructor Details

ManagedCassandraReaperStatus

public ManagedCassandraReaperStatus()

Creates an instance of ManagedCassandraReaperStatus class.

Method Details

fromJson

public static ManagedCassandraReaperStatus fromJson(JsonReader jsonReader)

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.

healthy

public Boolean healthy()

Get the healthy property: The healthy property.

Returns:

the healthy value.

repairRunIds

public Map<String,String> repairRunIds()

Get the repairRunIds property: Dictionary of <string>.

Returns:

the repairRunIds value.

repairSchedules

public Map<String,String> repairSchedules()

Get the repairSchedules property: Dictionary of <string>.

Returns:

the repairSchedules value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withHealthy

public ManagedCassandraReaperStatus withHealthy(Boolean healthy)

Set the healthy property: The healthy property.

Parameters:

healthy - the healthy value to set.

Returns:

the ManagedCassandraReaperStatus object itself.

withRepairRunIds

public ManagedCassandraReaperStatus withRepairRunIds(Map<String,String> repairRunIds)

Set the repairRunIds property: Dictionary of <string>.

Parameters:

repairRunIds - the repairRunIds value to set.

Returns:

the ManagedCassandraReaperStatus object itself.

withRepairSchedules

public ManagedCassandraReaperStatus withRepairSchedules(Map<String,String> repairSchedules)

Set the repairSchedules property: Dictionary of <string>.

Parameters:

repairSchedules - the repairSchedules value to set.

Returns:

the ManagedCassandraReaperStatus object itself.

Applies to