Class BaseBackupPolicy
java.lang.Object
com.azure.resourcemanager.dataprotection.models.BaseBackupPolicy
- Direct Known Subclasses:
BackupPolicy
BaseBackupPolicy
BackupPolicy base.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the datasourceTypes property: Type of datasource for the backup management.void
validate()
Validates the instance.withDatasourceTypes
(List<String> datasourceTypes) Set the datasourceTypes property: Type of datasource for the backup management.
-
Constructor Details
-
BaseBackupPolicy
public BaseBackupPolicy()Creates an instance of BaseBackupPolicy class.
-
-
Method Details
-
datasourceTypes
Get the datasourceTypes property: Type of datasource for the backup management.- Returns:
- the datasourceTypes value.
-
withDatasourceTypes
Set the datasourceTypes property: Type of datasource for the backup management.- Parameters:
datasourceTypes
- the datasourceTypes value to set.- Returns:
- the BaseBackupPolicy object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-