Class AzureVmWorkloadProtectedItemExtendedInfo
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureVmWorkloadProtectedItemExtendedInfo
-
public final class AzureVmWorkloadProtectedItemExtendedInfo extends Object
Additional information on Azure Workload for SQL specific backup item.
-
-
Constructor Summary
Constructors Constructor Description AzureVmWorkloadProtectedItemExtendedInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
oldestRecoveryPoint()
Get the oldestRecoveryPoint property: The oldest backup copy available for this backup item.String
policyState()
Get the policyState property: Indicates consistency of policy object and policy applied to this backup item.String
recoveryModel()
Get the recoveryModel property: Indicates consistency of policy object and policy applied to this backup item.Integer
recoveryPointCount()
Get the recoveryPointCount property: Number of backup copies available for this backup item.void
validate()
Validates the instance.AzureVmWorkloadProtectedItemExtendedInfo
withOldestRecoveryPoint(OffsetDateTime oldestRecoveryPoint)
Set the oldestRecoveryPoint property: The oldest backup copy available for this backup item.AzureVmWorkloadProtectedItemExtendedInfo
withPolicyState(String policyState)
Set the policyState property: Indicates consistency of policy object and policy applied to this backup item.AzureVmWorkloadProtectedItemExtendedInfo
withRecoveryModel(String recoveryModel)
Set the recoveryModel property: Indicates consistency of policy object and policy applied to this backup item.AzureVmWorkloadProtectedItemExtendedInfo
withRecoveryPointCount(Integer recoveryPointCount)
Set the recoveryPointCount property: Number of backup copies available for this backup item.
-
-
-
Method Detail
-
oldestRecoveryPoint
public OffsetDateTime oldestRecoveryPoint()
Get the oldestRecoveryPoint property: The oldest backup copy available for this backup item.- Returns:
- the oldestRecoveryPoint value.
-
withOldestRecoveryPoint
public AzureVmWorkloadProtectedItemExtendedInfo withOldestRecoveryPoint(OffsetDateTime oldestRecoveryPoint)
Set the oldestRecoveryPoint property: The oldest backup copy available for this backup item.- Parameters:
oldestRecoveryPoint
- the oldestRecoveryPoint value to set.- Returns:
- the AzureVmWorkloadProtectedItemExtendedInfo object itself.
-
recoveryPointCount
public Integer recoveryPointCount()
Get the recoveryPointCount property: Number of backup copies available for this backup item.- Returns:
- the recoveryPointCount value.
-
withRecoveryPointCount
public AzureVmWorkloadProtectedItemExtendedInfo withRecoveryPointCount(Integer recoveryPointCount)
Set the recoveryPointCount property: Number of backup copies available for this backup item.- Parameters:
recoveryPointCount
- the recoveryPointCount value to set.- Returns:
- the AzureVmWorkloadProtectedItemExtendedInfo object itself.
-
policyState
public String policyState()
Get the policyState property: Indicates consistency of policy object and policy applied to this backup item.- Returns:
- the policyState value.
-
withPolicyState
public AzureVmWorkloadProtectedItemExtendedInfo withPolicyState(String policyState)
Set the policyState property: Indicates consistency of policy object and policy applied to this backup item.- Parameters:
policyState
- the policyState value to set.- Returns:
- the AzureVmWorkloadProtectedItemExtendedInfo object itself.
-
recoveryModel
public String recoveryModel()
Get the recoveryModel property: Indicates consistency of policy object and policy applied to this backup item.- Returns:
- the recoveryModel value.
-
withRecoveryModel
public AzureVmWorkloadProtectedItemExtendedInfo withRecoveryModel(String recoveryModel)
Set the recoveryModel property: Indicates consistency of policy object and policy applied to this backup item.- Parameters:
recoveryModel
- the recoveryModel value to set.- Returns:
- the AzureVmWorkloadProtectedItemExtendedInfo object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-