com.azure.resourcemanager.recoveryservicesbackup.models.AzureIaaSvmProtectedItemExtendedInfo 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 Azure IaaS VM specific backup item.
*/
@Fluent
public final class AzureIaaSvmProtectedItemExtendedInfo {
/*
* The oldest backup copy available for this backup item across all tiers.
*/
@JsonProperty(value = "oldestRecoveryPoint")
private OffsetDateTime oldestRecoveryPoint;
/*
* The oldest backup copy available for this backup item in vault tier
*/
@JsonProperty(value = "oldestRecoveryPointInVault")
private OffsetDateTime oldestRecoveryPointInVault;
/*
* The oldest backup copy available for this backup item in archive tier
*/
@JsonProperty(value = "oldestRecoveryPointInArchive")
private OffsetDateTime oldestRecoveryPointInArchive;
/*
* The latest backup copy available for this backup item in archive tier
*/
@JsonProperty(value = "newestRecoveryPointInArchive")
private OffsetDateTime newestRecoveryPointInArchive;
/*
* Number of backup copies available for this backup item.
*/
@JsonProperty(value = "recoveryPointCount")
private Integer recoveryPointCount;
/*
* Specifies if backup policy associated with the backup item is inconsistent.
*/
@JsonProperty(value = "policyInconsistent")
private Boolean policyInconsistent;
/**
* Creates an instance of AzureIaaSvmProtectedItemExtendedInfo class.
*/
public AzureIaaSvmProtectedItemExtendedInfo() {
}
/**
* Get the oldestRecoveryPoint property: The oldest backup copy available for this backup item across all tiers.
*
* @return the oldestRecoveryPoint value.
*/
public OffsetDateTime oldestRecoveryPoint() {
return this.oldestRecoveryPoint;
}
/**
* Set the oldestRecoveryPoint property: The oldest backup copy available for this backup item across all tiers.
*
* @param oldestRecoveryPoint the oldestRecoveryPoint value to set.
* @return the AzureIaaSvmProtectedItemExtendedInfo object itself.
*/
public AzureIaaSvmProtectedItemExtendedInfo withOldestRecoveryPoint(OffsetDateTime oldestRecoveryPoint) {
this.oldestRecoveryPoint = oldestRecoveryPoint;
return this;
}
/**
* Get the oldestRecoveryPointInVault property: The oldest backup copy available for this backup item in vault
* tier.
*
* @return the oldestRecoveryPointInVault value.
*/
public OffsetDateTime oldestRecoveryPointInVault() {
return this.oldestRecoveryPointInVault;
}
/**
* Set the oldestRecoveryPointInVault property: The oldest backup copy available for this backup item in vault
* tier.
*
* @param oldestRecoveryPointInVault the oldestRecoveryPointInVault value to set.
* @return the AzureIaaSvmProtectedItemExtendedInfo object itself.
*/
public AzureIaaSvmProtectedItemExtendedInfo
withOldestRecoveryPointInVault(OffsetDateTime oldestRecoveryPointInVault) {
this.oldestRecoveryPointInVault = oldestRecoveryPointInVault;
return this;
}
/**
* Get the oldestRecoveryPointInArchive property: The oldest backup copy available for this backup item in archive
* tier.
*
* @return the oldestRecoveryPointInArchive value.
*/
public OffsetDateTime oldestRecoveryPointInArchive() {
return this.oldestRecoveryPointInArchive;
}
/**
* Set the oldestRecoveryPointInArchive property: The oldest backup copy available for this backup item in archive
* tier.
*
* @param oldestRecoveryPointInArchive the oldestRecoveryPointInArchive value to set.
* @return the AzureIaaSvmProtectedItemExtendedInfo object itself.
*/
public AzureIaaSvmProtectedItemExtendedInfo
withOldestRecoveryPointInArchive(OffsetDateTime oldestRecoveryPointInArchive) {
this.oldestRecoveryPointInArchive = oldestRecoveryPointInArchive;
return this;
}
/**
* Get the newestRecoveryPointInArchive property: The latest backup copy available for this backup item in archive
* tier.
*
* @return the newestRecoveryPointInArchive value.
*/
public OffsetDateTime newestRecoveryPointInArchive() {
return this.newestRecoveryPointInArchive;
}
/**
* Set the newestRecoveryPointInArchive property: The latest backup copy available for this backup item in archive
* tier.
*
* @param newestRecoveryPointInArchive the newestRecoveryPointInArchive value to set.
* @return the AzureIaaSvmProtectedItemExtendedInfo object itself.
*/
public AzureIaaSvmProtectedItemExtendedInfo
withNewestRecoveryPointInArchive(OffsetDateTime newestRecoveryPointInArchive) {
this.newestRecoveryPointInArchive = newestRecoveryPointInArchive;
return this;
}
/**
* Get the recoveryPointCount property: Number of backup copies available for this backup item.
*
* @return the recoveryPointCount value.
*/
public Integer recoveryPointCount() {
return this.recoveryPointCount;
}
/**
* Set the recoveryPointCount property: Number of backup copies available for this backup item.
*
* @param recoveryPointCount the recoveryPointCount value to set.
* @return the AzureIaaSvmProtectedItemExtendedInfo object itself.
*/
public AzureIaaSvmProtectedItemExtendedInfo withRecoveryPointCount(Integer recoveryPointCount) {
this.recoveryPointCount = recoveryPointCount;
return this;
}
/**
* Get the policyInconsistent property: Specifies if backup policy associated with the backup item is inconsistent.
*
* @return the policyInconsistent value.
*/
public Boolean policyInconsistent() {
return this.policyInconsistent;
}
/**
* Set the policyInconsistent property: Specifies if backup policy associated with the backup item is inconsistent.
*
* @param policyInconsistent the policyInconsistent value to set.
* @return the AzureIaaSvmProtectedItemExtendedInfo object itself.
*/
public AzureIaaSvmProtectedItemExtendedInfo withPolicyInconsistent(Boolean policyInconsistent) {
this.policyInconsistent = policyInconsistent;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy