Class BackupResultIdentityProjection
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.projection.MorpheusIdentityModel
com.morpheusdata.model.projection.BackupResultIdentityProjection
-
Field Summary
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
Constructor Summary
ConstructorDescriptionBackupResultIdentityProjection
(Long id, String externalId, String backupName) -
Method Summary
Modifier and TypeMethodDescriptionGets the name of the backup.returns the externalId also known as the API id of the equivalent object.void
setBackupName
(String backupName) Sets the name of the Backup.void
setExternalId
(String externalId) Sets the externalId of the backup.Methods inherited from class com.morpheusdata.model.projection.MorpheusIdentityModel
getIdentityProperties
Methods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getId, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty, setId
-
Field Details
-
externalId
-
backupName
-
-
Constructor Details
-
BackupResultIdentityProjection
public BackupResultIdentityProjection() -
BackupResultIdentityProjection
-
-
Method Details
-
getExternalId
returns the externalId also known as the API id of the equivalent object.- Returns:
- the external id or API id of the current record
-
setExternalId
Sets the externalId of the backup. In this class this should not be called directly- Parameters:
externalId
- the external id or API id of the current record
-
getBackupName
Gets the name of the backup. This is on the identity projection in case a fallback match needs to happen by name- Returns:
- the current name of the backup
-
setBackupName
Sets the name of the Backup. Typically this isnt called directly.- Parameters:
backupName
- the name of the backup to be assigned.
-