All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.cosmos.models.ManagedCassandraReaperStatus Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure CosmosDB SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 2.46.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.cosmos.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;

/**
 * The ManagedCassandraReaperStatus model.
 */
@Fluent
public final class ManagedCassandraReaperStatus {
    /*
     * The healthy property.
     */
    @JsonProperty(value = "healthy")
    private Boolean healthy;

    /*
     * Dictionary of 
     */
    @JsonProperty(value = "repairRunIds")
    @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
    private Map repairRunIds;

    /*
     * Dictionary of 
     */
    @JsonProperty(value = "repairSchedules")
    @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
    private Map repairSchedules;

    /**
     * Creates an instance of ManagedCassandraReaperStatus class.
     */
    public ManagedCassandraReaperStatus() {
    }

    /**
     * Get the healthy property: The healthy property.
     * 
     * @return the healthy value.
     */
    public Boolean healthy() {
        return this.healthy;
    }

    /**
     * Set the healthy property: The healthy property.
     * 
     * @param healthy the healthy value to set.
     * @return the ManagedCassandraReaperStatus object itself.
     */
    public ManagedCassandraReaperStatus withHealthy(Boolean healthy) {
        this.healthy = healthy;
        return this;
    }

    /**
     * Get the repairRunIds property: Dictionary of <string>.
     * 
     * @return the repairRunIds value.
     */
    public Map repairRunIds() {
        return this.repairRunIds;
    }

    /**
     * Set the repairRunIds property: Dictionary of <string>.
     * 
     * @param repairRunIds the repairRunIds value to set.
     * @return the ManagedCassandraReaperStatus object itself.
     */
    public ManagedCassandraReaperStatus withRepairRunIds(Map repairRunIds) {
        this.repairRunIds = repairRunIds;
        return this;
    }

    /**
     * Get the repairSchedules property: Dictionary of <string>.
     * 
     * @return the repairSchedules value.
     */
    public Map repairSchedules() {
        return this.repairSchedules;
    }

    /**
     * Set the repairSchedules property: Dictionary of <string>.
     * 
     * @param repairSchedules the repairSchedules value to set.
     * @return the ManagedCassandraReaperStatus object itself.
     */
    public ManagedCassandraReaperStatus withRepairSchedules(Map repairSchedules) {
        this.repairSchedules = repairSchedules;
        return this;
    }

    /**
     * Validates the instance.
     * 
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy