Class AzureFileshareProtectedItemExtendedInfo
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.AzureFileshareProtectedItemExtendedInfo
Additional information about Azure File Share backup item.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureFileshareProtectedItemExtendedInfo class. -
Method Summary
Modifier and TypeMethodDescriptionGet the oldestRecoveryPoint property: The oldest backup copy available for this item in the service.Get the policyState property: Indicates consistency of policy object and policy applied to this backup item.Get the recoveryPointCount property: Number of available backup copies associated with this backup item.Get the resourceState property: Indicates the state of this resource.Get the resourceStateSyncTime property: The resource state sync time for this backup item.void
validate()
Validates the instance.withOldestRecoveryPoint
(OffsetDateTime oldestRecoveryPoint) Set the oldestRecoveryPoint property: The oldest backup copy available for this item in the service.withPolicyState
(String policyState) Set the policyState property: Indicates consistency of policy object and policy applied to this backup item.withRecoveryPointCount
(Integer recoveryPointCount) Set the recoveryPointCount property: Number of available backup copies associated with this backup item.
-
Constructor Details
-
AzureFileshareProtectedItemExtendedInfo
public AzureFileshareProtectedItemExtendedInfo()Creates an instance of AzureFileshareProtectedItemExtendedInfo class.
-
-
Method Details
-
oldestRecoveryPoint
Get the oldestRecoveryPoint property: The oldest backup copy available for this item in the service.- Returns:
- the oldestRecoveryPoint value.
-
withOldestRecoveryPoint
public AzureFileshareProtectedItemExtendedInfo withOldestRecoveryPoint(OffsetDateTime oldestRecoveryPoint) Set the oldestRecoveryPoint property: The oldest backup copy available for this item in the service.- Parameters:
oldestRecoveryPoint
- the oldestRecoveryPoint value to set.- Returns:
- the AzureFileshareProtectedItemExtendedInfo object itself.
-
recoveryPointCount
Get the recoveryPointCount property: Number of available backup copies associated with this backup item.- Returns:
- the recoveryPointCount value.
-
withRecoveryPointCount
Set the recoveryPointCount property: Number of available backup copies associated with this backup item.- Parameters:
recoveryPointCount
- the recoveryPointCount value to set.- Returns:
- the AzureFileshareProtectedItemExtendedInfo object itself.
-
policyState
Get the policyState property: Indicates consistency of policy object and policy applied to this backup item.- Returns:
- the policyState value.
-
withPolicyState
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 AzureFileshareProtectedItemExtendedInfo object itself.
-
resourceState
Get the resourceState property: Indicates the state of this resource. Possible values are from enum ResourceState {Invalid, Active, SoftDeleted, Deleted}.- Returns:
- the resourceState value.
-
resourceStateSyncTime
Get the resourceStateSyncTime property: The resource state sync time for this backup item.- Returns:
- the resourceStateSyncTime value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-