BackupPolicy Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. BackupPolicy
- com.
public class BackupPolicy
The object representing the policy for taking backups on an account.
Constructor Summary
Constructor | Description |
---|---|
BackupPolicy() |
Creates an instance of Backup |
Method Summary
Modifier and Type | Method and Description |
---|---|
Backup |
migrationState()
Get the migration |
void |
validate()
Validates the instance. |
Backup |
withMigrationState(BackupPolicyMigrationState migrationState)
Set the migration |
Methods inherited from java.lang.Object
Constructor Details
BackupPolicy
public BackupPolicy()
Creates an instance of BackupPolicy class.
Method Details
migrationState
public BackupPolicyMigrationState migrationState()
Get the migrationState property: The object representing the state of the migration between the backup policies.
Returns:
validate
public void validate()
Validates the instance.
withMigrationState
public BackupPolicy withMigrationState(BackupPolicyMigrationState migrationState)
Set the migrationState property: The object representing the state of the migration between the backup policies.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for