Class IaasVMBackupRequest
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.BackupRequest
-
- com.azure.resourcemanager.recoveryservicesbackup.models.IaasVMBackupRequest
-
public final class IaasVMBackupRequest extends BackupRequest
IaaS VM workload-specific backup request.
-
-
Constructor Summary
Constructors Constructor Description IaasVMBackupRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
recoveryPointExpiryTimeInUtc()
Get the recoveryPointExpiryTimeInUtc property: Backup copy will expire after the time specified (UTC).void
validate()
Validates the instance.IaasVMBackupRequest
withRecoveryPointExpiryTimeInUtc(OffsetDateTime recoveryPointExpiryTimeInUtc)
Set the recoveryPointExpiryTimeInUtc property: Backup copy will expire after the time specified (UTC).
-
-
-
Method Detail
-
recoveryPointExpiryTimeInUtc
public OffsetDateTime recoveryPointExpiryTimeInUtc()
Get the recoveryPointExpiryTimeInUtc property: Backup copy will expire after the time specified (UTC).- Returns:
- the recoveryPointExpiryTimeInUtc value.
-
withRecoveryPointExpiryTimeInUtc
public IaasVMBackupRequest withRecoveryPointExpiryTimeInUtc(OffsetDateTime recoveryPointExpiryTimeInUtc)
Set the recoveryPointExpiryTimeInUtc property: Backup copy will expire after the time specified (UTC).- Parameters:
recoveryPointExpiryTimeInUtc
- the recoveryPointExpiryTimeInUtc value to set.- Returns:
- the IaasVMBackupRequest object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classBackupRequest
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-