com.azure.resourcemanager.recoveryservicesbackup.models.MabFileFolderProtectedItemExtendedInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-recoveryservicesbackup Show documentation
Show all versions of azure-resourcemanager-recoveryservicesbackup Show documentation
This package contains Microsoft Azure SDK for RecoveryServicesBackup Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Open API 2.0 Specs for Azure RecoveryServices Backup service. Package tag package-2024-04.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.OffsetDateTime;
/**
* Additional information on the backed up item.
*/
@Fluent
public final class MabFileFolderProtectedItemExtendedInfo {
/*
* Last time when the agent data synced to service.
*/
@JsonProperty(value = "lastRefreshedAt")
private OffsetDateTime lastRefreshedAt;
/*
* The oldest backup copy available.
*/
@JsonProperty(value = "oldestRecoveryPoint")
private OffsetDateTime oldestRecoveryPoint;
/*
* Number of backup copies associated with the backup item.
*/
@JsonProperty(value = "recoveryPointCount")
private Integer recoveryPointCount;
/**
* Creates an instance of MabFileFolderProtectedItemExtendedInfo class.
*/
public MabFileFolderProtectedItemExtendedInfo() {
}
/**
* Get the lastRefreshedAt property: Last time when the agent data synced to service.
*
* @return the lastRefreshedAt value.
*/
public OffsetDateTime lastRefreshedAt() {
return this.lastRefreshedAt;
}
/**
* Set the lastRefreshedAt property: Last time when the agent data synced to service.
*
* @param lastRefreshedAt the lastRefreshedAt value to set.
* @return the MabFileFolderProtectedItemExtendedInfo object itself.
*/
public MabFileFolderProtectedItemExtendedInfo withLastRefreshedAt(OffsetDateTime lastRefreshedAt) {
this.lastRefreshedAt = lastRefreshedAt;
return this;
}
/**
* Get the oldestRecoveryPoint property: The oldest backup copy available.
*
* @return the oldestRecoveryPoint value.
*/
public OffsetDateTime oldestRecoveryPoint() {
return this.oldestRecoveryPoint;
}
/**
* Set the oldestRecoveryPoint property: The oldest backup copy available.
*
* @param oldestRecoveryPoint the oldestRecoveryPoint value to set.
* @return the MabFileFolderProtectedItemExtendedInfo object itself.
*/
public MabFileFolderProtectedItemExtendedInfo withOldestRecoveryPoint(OffsetDateTime oldestRecoveryPoint) {
this.oldestRecoveryPoint = oldestRecoveryPoint;
return this;
}
/**
* Get the recoveryPointCount property: Number of backup copies associated with the backup item.
*
* @return the recoveryPointCount value.
*/
public Integer recoveryPointCount() {
return this.recoveryPointCount;
}
/**
* Set the recoveryPointCount property: Number of backup copies associated with the backup item.
*
* @param recoveryPointCount the recoveryPointCount value to set.
* @return the MabFileFolderProtectedItemExtendedInfo object itself.
*/
public MabFileFolderProtectedItemExtendedInfo withRecoveryPointCount(Integer recoveryPointCount) {
this.recoveryPointCount = recoveryPointCount;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy