BackupPolicyMigrationState Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. BackupPolicyMigrationState
- com.
public final class BackupPolicyMigrationState
The object representing the state of the migration between the backup policies.
Constructor Summary
Constructor | Description |
---|---|
BackupPolicyMigrationState() |
Creates an instance of Backup |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
startTime()
Get the start |
Backup |
status()
Get the status property: Describes the status of migration between backup policy types. |
Backup |
targetType()
Get the target |
void |
validate()
Validates the instance. |
Backup |
withStartTime(OffsetDateTime startTime)
Set the start |
Backup |
withStatus(BackupPolicyMigrationStatus status)
Set the status property: Describes the status of migration between backup policy types. |
Backup |
withTargetType(BackupPolicyType targetType)
Set the target |
Methods inherited from java.lang.Object
Constructor Details
BackupPolicyMigrationState
public BackupPolicyMigrationState()
Creates an instance of BackupPolicyMigrationState class.
Method Details
startTime
public OffsetDateTime startTime()
Get the startTime property: Time at which the backup policy migration started (ISO-8601 format).
Returns:
status
public BackupPolicyMigrationStatus status()
Get the status property: Describes the status of migration between backup policy types.
Returns:
targetType
public BackupPolicyType targetType()
Get the targetType property: Describes the target backup policy type of the backup policy migration.
Returns:
validate
public void validate()
Validates the instance.
withStartTime
public BackupPolicyMigrationState withStartTime(OffsetDateTime startTime)
Set the startTime property: Time at which the backup policy migration started (ISO-8601 format).
Parameters:
Returns:
withStatus
public BackupPolicyMigrationState withStatus(BackupPolicyMigrationStatus status)
Set the status property: Describes the status of migration between backup policy types.
Parameters:
Returns:
withTargetType
public BackupPolicyMigrationState withTargetType(BackupPolicyType targetType)
Set the targetType property: Describes the target backup policy type of the backup policy migration.
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