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

com.azure.resourcemanager.netapp.fluent.models.BackupStatusInner Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for NetAppFiles Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Microsoft NetApp Files Azure Resource Provider specification. Package tag package-preview-2024-07-01-preview.

There is a newer version: 1.6.0-beta.1
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.netapp.fluent.models;

import com.azure.core.annotation.Immutable;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.netapp.models.MirrorState;
import com.azure.resourcemanager.netapp.models.RelationshipStatus;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Backup status. */
@Immutable
public final class BackupStatusInner {
    @JsonIgnore private final ClientLogger logger = new ClientLogger(BackupStatusInner.class);

    /*
     * Backup health status
     */
    @JsonProperty(value = "healthy", access = JsonProperty.Access.WRITE_ONLY)
    private Boolean healthy;

    /*
     * Status of the backup mirror relationship
     */
    @JsonProperty(value = "relationshipStatus", access = JsonProperty.Access.WRITE_ONLY)
    private RelationshipStatus relationshipStatus;

    /*
     * The status of the backup
     */
    @JsonProperty(value = "mirrorState", access = JsonProperty.Access.WRITE_ONLY)
    private MirrorState mirrorState;

    /*
     * Reason for the unhealthy backup relationship
     */
    @JsonProperty(value = "unhealthyReason", access = JsonProperty.Access.WRITE_ONLY)
    private String unhealthyReason;

    /*
     * Displays error message if the backup is in an error state
     */
    @JsonProperty(value = "errorMessage", access = JsonProperty.Access.WRITE_ONLY)
    private String errorMessage;

    /*
     * Displays the last transfer size
     */
    @JsonProperty(value = "lastTransferSize", access = JsonProperty.Access.WRITE_ONLY)
    private Long lastTransferSize;

    /*
     * Displays the last transfer type
     */
    @JsonProperty(value = "lastTransferType", access = JsonProperty.Access.WRITE_ONLY)
    private String lastTransferType;

    /*
     * Displays the total bytes transferred
     */
    @JsonProperty(value = "totalTransferBytes", access = JsonProperty.Access.WRITE_ONLY)
    private Long totalTransferBytes;

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

    /**
     * Get the relationshipStatus property: Status of the backup mirror relationship.
     *
     * @return the relationshipStatus value.
     */
    public RelationshipStatus relationshipStatus() {
        return this.relationshipStatus;
    }

    /**
     * Get the mirrorState property: The status of the backup.
     *
     * @return the mirrorState value.
     */
    public MirrorState mirrorState() {
        return this.mirrorState;
    }

    /**
     * Get the unhealthyReason property: Reason for the unhealthy backup relationship.
     *
     * @return the unhealthyReason value.
     */
    public String unhealthyReason() {
        return this.unhealthyReason;
    }

    /**
     * Get the errorMessage property: Displays error message if the backup is in an error state.
     *
     * @return the errorMessage value.
     */
    public String errorMessage() {
        return this.errorMessage;
    }

    /**
     * Get the lastTransferSize property: Displays the last transfer size.
     *
     * @return the lastTransferSize value.
     */
    public Long lastTransferSize() {
        return this.lastTransferSize;
    }

    /**
     * Get the lastTransferType property: Displays the last transfer type.
     *
     * @return the lastTransferType value.
     */
    public String lastTransferType() {
        return this.lastTransferType;
    }

    /**
     * Get the totalTransferBytes property: Displays the total bytes transferred.
     *
     * @return the totalTransferBytes value.
     */
    public Long totalTransferBytes() {
        return this.totalTransferBytes;
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy