Class AzureBackupDiscreteRecoveryPoint
- java.lang.Object
-
- com.azure.resourcemanager.dataprotection.models.AzureBackupRecoveryPoint
-
- com.azure.resourcemanager.dataprotection.models.AzureBackupDiscreteRecoveryPoint
-
public final class AzureBackupDiscreteRecoveryPoint extends AzureBackupRecoveryPoint
AzureBackupDiscreteRecoveryPoint Azure backup discrete RecoveryPoint.
-
-
Constructor Summary
Constructors Constructor Description AzureBackupDiscreteRecoveryPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
friendlyName()
Get the friendlyName property: The friendlyName property.String
policyName()
Get the policyName property: The policyName property.String
policyVersion()
Get the policyVersion property: The policyVersion property.List<RecoveryPointDataStoreDetails>
recoveryPointDataStoresDetails()
Get the recoveryPointDataStoresDetails property: The recoveryPointDataStoresDetails property.String
recoveryPointId()
Get the recoveryPointId property: The recoveryPointId property.OffsetDateTime
recoveryPointTime()
Get the recoveryPointTime property: The recoveryPointTime property.String
recoveryPointType()
Get the recoveryPointType property: The recoveryPointType property.String
retentionTagName()
Get the retentionTagName property: The retentionTagName property.String
retentionTagVersion()
Get the retentionTagVersion property: The retentionTagVersion property.void
validate()
Validates the instance.AzureBackupDiscreteRecoveryPoint
withFriendlyName(String friendlyName)
Set the friendlyName property: The friendlyName property.AzureBackupDiscreteRecoveryPoint
withPolicyName(String policyName)
Set the policyName property: The policyName property.AzureBackupDiscreteRecoveryPoint
withPolicyVersion(String policyVersion)
Set the policyVersion property: The policyVersion property.AzureBackupDiscreteRecoveryPoint
withRecoveryPointDataStoresDetails(List<RecoveryPointDataStoreDetails> recoveryPointDataStoresDetails)
Set the recoveryPointDataStoresDetails property: The recoveryPointDataStoresDetails property.AzureBackupDiscreteRecoveryPoint
withRecoveryPointId(String recoveryPointId)
Set the recoveryPointId property: The recoveryPointId property.AzureBackupDiscreteRecoveryPoint
withRecoveryPointTime(OffsetDateTime recoveryPointTime)
Set the recoveryPointTime property: The recoveryPointTime property.AzureBackupDiscreteRecoveryPoint
withRecoveryPointType(String recoveryPointType)
Set the recoveryPointType property: The recoveryPointType property.AzureBackupDiscreteRecoveryPoint
withRetentionTagName(String retentionTagName)
Set the retentionTagName property: The retentionTagName property.AzureBackupDiscreteRecoveryPoint
withRetentionTagVersion(String retentionTagVersion)
Set the retentionTagVersion property: The retentionTagVersion property.
-
-
-
Method Detail
-
friendlyName
public String friendlyName()
Get the friendlyName property: The friendlyName property.- Returns:
- the friendlyName value.
-
withFriendlyName
public AzureBackupDiscreteRecoveryPoint withFriendlyName(String friendlyName)
Set the friendlyName property: The friendlyName property.- Parameters:
friendlyName
- the friendlyName value to set.- Returns:
- the AzureBackupDiscreteRecoveryPoint object itself.
-
recoveryPointDataStoresDetails
public List<RecoveryPointDataStoreDetails> recoveryPointDataStoresDetails()
Get the recoveryPointDataStoresDetails property: The recoveryPointDataStoresDetails property.- Returns:
- the recoveryPointDataStoresDetails value.
-
withRecoveryPointDataStoresDetails
public AzureBackupDiscreteRecoveryPoint withRecoveryPointDataStoresDetails(List<RecoveryPointDataStoreDetails> recoveryPointDataStoresDetails)
Set the recoveryPointDataStoresDetails property: The recoveryPointDataStoresDetails property.- Parameters:
recoveryPointDataStoresDetails
- the recoveryPointDataStoresDetails value to set.- Returns:
- the AzureBackupDiscreteRecoveryPoint object itself.
-
recoveryPointTime
public OffsetDateTime recoveryPointTime()
Get the recoveryPointTime property: The recoveryPointTime property.- Returns:
- the recoveryPointTime value.
-
withRecoveryPointTime
public AzureBackupDiscreteRecoveryPoint withRecoveryPointTime(OffsetDateTime recoveryPointTime)
Set the recoveryPointTime property: The recoveryPointTime property.- Parameters:
recoveryPointTime
- the recoveryPointTime value to set.- Returns:
- the AzureBackupDiscreteRecoveryPoint object itself.
-
policyName
public String policyName()
Get the policyName property: The policyName property.- Returns:
- the policyName value.
-
withPolicyName
public AzureBackupDiscreteRecoveryPoint withPolicyName(String policyName)
Set the policyName property: The policyName property.- Parameters:
policyName
- the policyName value to set.- Returns:
- the AzureBackupDiscreteRecoveryPoint object itself.
-
policyVersion
public String policyVersion()
Get the policyVersion property: The policyVersion property.- Returns:
- the policyVersion value.
-
withPolicyVersion
public AzureBackupDiscreteRecoveryPoint withPolicyVersion(String policyVersion)
Set the policyVersion property: The policyVersion property.- Parameters:
policyVersion
- the policyVersion value to set.- Returns:
- the AzureBackupDiscreteRecoveryPoint object itself.
-
recoveryPointId
public String recoveryPointId()
Get the recoveryPointId property: The recoveryPointId property.- Returns:
- the recoveryPointId value.
-
withRecoveryPointId
public AzureBackupDiscreteRecoveryPoint withRecoveryPointId(String recoveryPointId)
Set the recoveryPointId property: The recoveryPointId property.- Parameters:
recoveryPointId
- the recoveryPointId value to set.- Returns:
- the AzureBackupDiscreteRecoveryPoint object itself.
-
recoveryPointType
public String recoveryPointType()
Get the recoveryPointType property: The recoveryPointType property.- Returns:
- the recoveryPointType value.
-
withRecoveryPointType
public AzureBackupDiscreteRecoveryPoint withRecoveryPointType(String recoveryPointType)
Set the recoveryPointType property: The recoveryPointType property.- Parameters:
recoveryPointType
- the recoveryPointType value to set.- Returns:
- the AzureBackupDiscreteRecoveryPoint object itself.
-
retentionTagName
public String retentionTagName()
Get the retentionTagName property: The retentionTagName property.- Returns:
- the retentionTagName value.
-
withRetentionTagName
public AzureBackupDiscreteRecoveryPoint withRetentionTagName(String retentionTagName)
Set the retentionTagName property: The retentionTagName property.- Parameters:
retentionTagName
- the retentionTagName value to set.- Returns:
- the AzureBackupDiscreteRecoveryPoint object itself.
-
retentionTagVersion
public String retentionTagVersion()
Get the retentionTagVersion property: The retentionTagVersion property.- Returns:
- the retentionTagVersion value.
-
withRetentionTagVersion
public AzureBackupDiscreteRecoveryPoint withRetentionTagVersion(String retentionTagVersion)
Set the retentionTagVersion property: The retentionTagVersion property.- Parameters:
retentionTagVersion
- the retentionTagVersion value to set.- Returns:
- the AzureBackupDiscreteRecoveryPoint object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classAzureBackupRecoveryPoint
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-