Class AzureFileShareBackupRequest
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.BackupRequest
com.azure.resourcemanager.recoveryservicesbackup.models.AzureFileShareBackupRequest
AzureFileShare workload-specific backup request.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureFileShareBackupRequest class. -
Method Summary
Modifier and TypeMethodDescriptionGet the recoveryPointExpiryTimeInUtc property: Backup copy will expire after the time specified (UTC).void
validate()
Validates the instance.withRecoveryPointExpiryTimeInUtc
(OffsetDateTime recoveryPointExpiryTimeInUtc) Set the recoveryPointExpiryTimeInUtc property: Backup copy will expire after the time specified (UTC).
-
Constructor Details
-
AzureFileShareBackupRequest
public AzureFileShareBackupRequest()Creates an instance of AzureFileShareBackupRequest class.
-
-
Method Details
-
recoveryPointExpiryTimeInUtc
Get the recoveryPointExpiryTimeInUtc property: Backup copy will expire after the time specified (UTC).- Returns:
- the recoveryPointExpiryTimeInUtc value.
-
withRecoveryPointExpiryTimeInUtc
public AzureFileShareBackupRequest 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 AzureFileShareBackupRequest object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classBackupRequest
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-