@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 values:
Set to "WindowsVSS":"enabled"
to enable the WindowsVSS backup option and create a VSS Windows
backup.
Set to "WindowsVSS":"disabled"
to create a regular backup. The WindowsVSS option is not enabled by
default.
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 values:
Set to "WindowsVSS":"enabled"
to enable the WindowsVSS backup option and create a VSS
Windows backup.
Set to "WindowsVSS":"disabled"
to create a regular backup. The WindowsVSS option is not
enabled by default.
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 values:
Set to "WindowsVSS":"enabled"
to enable the WindowsVSS backup option and create a VSS Windows
backup.
Set to "WindowsVSS":"disabled"
to create a regular backup. The WindowsVSS option is not enabled by
default.
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 values:
Set to "WindowsVSS":"enabled"
to enable the WindowsVSS backup option and create a VSS Windows
backup.
Set to "WindowsVSS":"disabled"
to create a regular backup. The WindowsVSS option is not
enabled by default.
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 values:
Set to "WindowsVSS":"enabled"
to enable the WindowsVSS backup option and create a VSS Windows
backup.
Set to "WindowsVSS":"disabled"
to create a regular backup. The WindowsVSS option is not enabled by
default.
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 values:
Set to "WindowsVSS":"enabled"
to enable the WindowsVSS backup option and create a VSS Windows
backup.
Set to "WindowsVSS":"disabled"
to create a regular backup. The WindowsVSS option is not
enabled by default.
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 Object
Object.toString()
public AdvancedBackupSetting clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.