@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AdvancedBackupSetting extends Object implements Serializable, Cloneable, StructuredPojo
A list of backup options for each resource type.
| Constructor and Description |
|---|
AdvancedBackupSetting() |
| Modifier and Type | Method and Description |
|---|---|
AdvancedBackupSetting |
addBackupOptionsEntry(String key,
String value)
Add a single BackupOptions entry
|
AdvancedBackupSetting |
clearBackupOptionsEntries()
Removes all the entries added into BackupOptions.
|
AdvancedBackupSetting |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getBackupOptions()
Specifies the backup option for a selected resource.
|
String |
getResourceType()
The type of AWS resource to be backed up.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBackupOptions(Map<String,String> backupOptions)
Specifies the backup option for a selected resource.
|
void |
setResourceType(String resourceType)
The type of AWS resource to be backed up.
|
String |
toString()
Returns a string representation of this object.
|
AdvancedBackupSetting |
withBackupOptions(Map<String,String> backupOptions)
Specifies the backup option for a selected resource.
|
AdvancedBackupSetting |
withResourceType(String resourceType)
The type of AWS resource to be backed up.
|
public void setResourceType(String resourceType)
The type of AWS resource to be backed up. For VSS Windows backups, the only supported resource type is Amazon EC2.
Valid values: EC2.
resourceType - The type of AWS resource to be backed up. For VSS Windows backups, the only supported resource type is
Amazon EC2.
Valid values: EC2.
public String getResourceType()
The type of AWS resource to be backed up. For VSS Windows backups, the only supported resource type is Amazon EC2.
Valid values: EC2.
Valid values: EC2.
public AdvancedBackupSetting withResourceType(String resourceType)
The type of AWS resource to be backed up. For VSS Windows backups, the only supported resource type is Amazon EC2.
Valid values: EC2.
resourceType - The type of AWS resource to be backed up. For VSS Windows backups, the only supported resource type is
Amazon EC2.
Valid values: EC2.
public Map<String,String> getBackupOptions()
Specifies the backup option for a selected resource. This option is only available for Windows VSS backup jobs.
Valid value: "WindowsVSS”:“enabled". If enabled, creates a VSS Windows backup; otherwise, creates a
regular backup.
If you specify an invalid option, you get an InvalidParameterValueException exception.
For more information about Windows VSS backups, see Creating a VSS-Enabled Windows Backup.
Valid value: "WindowsVSS”:“enabled". If enabled, creates a VSS Windows backup; otherwise,
creates a regular backup.
If you specify an invalid option, you get an InvalidParameterValueException exception.
For more information about Windows VSS backups, see Creating a VSS-Enabled Windows Backup.
public void setBackupOptions(Map<String,String> backupOptions)
Specifies the backup option for a selected resource. This option is only available for Windows VSS backup jobs.
Valid value: "WindowsVSS”:“enabled". If enabled, creates a VSS Windows backup; otherwise, creates a
regular backup.
If you specify an invalid option, you get an InvalidParameterValueException exception.
For more information about Windows VSS backups, see Creating a VSS-Enabled Windows Backup.
backupOptions - Specifies the backup option for a selected resource. This option is only available for Windows VSS backup
jobs.
Valid value: "WindowsVSS”:“enabled". If enabled, creates a VSS Windows backup; otherwise,
creates a regular backup.
If you specify an invalid option, you get an InvalidParameterValueException exception.
For more information about Windows VSS backups, see Creating a VSS-Enabled Windows Backup.
public AdvancedBackupSetting withBackupOptions(Map<String,String> backupOptions)
Specifies the backup option for a selected resource. This option is only available for Windows VSS backup jobs.
Valid value: "WindowsVSS”:“enabled". If enabled, creates a VSS Windows backup; otherwise, creates a
regular backup.
If you specify an invalid option, you get an InvalidParameterValueException exception.
For more information about Windows VSS backups, see Creating a VSS-Enabled Windows Backup.
backupOptions - Specifies the backup option for a selected resource. This option is only available for Windows VSS backup
jobs.
Valid value: "WindowsVSS”:“enabled". If enabled, creates a VSS Windows backup; otherwise,
creates a regular backup.
If you specify an invalid option, you get an InvalidParameterValueException exception.
For more information about Windows VSS backups, see Creating a VSS-Enabled Windows Backup.
public AdvancedBackupSetting addBackupOptionsEntry(String key, String value)
public AdvancedBackupSetting clearBackupOptionsEntries()
public String toString()
toString in class ObjectObject.toString()public AdvancedBackupSetting clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.