@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsBackupBackupPlanAdvancedBackupSettingsDetails extends Object implements Serializable, Cloneable, StructuredPojo
Provides a list of backup options for each resource type.
Constructor and Description |
---|
AwsBackupBackupPlanAdvancedBackupSettingsDetails() |
Modifier and Type | Method and Description |
---|---|
AwsBackupBackupPlanAdvancedBackupSettingsDetails |
addBackupOptionsEntry(String key,
String value)
Add a single BackupOptions entry
|
AwsBackupBackupPlanAdvancedBackupSettingsDetails |
clearBackupOptionsEntries()
Removes all the entries added into BackupOptions.
|
AwsBackupBackupPlanAdvancedBackupSettingsDetails |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getBackupOptions()
Specifies the backup option for a selected resource.
|
String |
getResourceType()
The name of a resource type.
|
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 name of a resource type.
|
String |
toString()
Returns a string representation of this object.
|
AwsBackupBackupPlanAdvancedBackupSettingsDetails |
withBackupOptions(Map<String,String> backupOptions)
Specifies the backup option for a selected resource.
|
AwsBackupBackupPlanAdvancedBackupSettingsDetails |
withResourceType(String resourceType)
The name of a resource type.
|
public AwsBackupBackupPlanAdvancedBackupSettingsDetails()
public Map<String,String> getBackupOptions()
Specifies the backup option for a selected resource. This option is only available for Windows Volume Shadow Copy Service (VSS) backup jobs. Valid values are as follows:
Set to WindowsVSS: enabled
to enable the WindowsVSS backup option and create a Windows VSS backup.
Set to WindowsVSS: disabled
to create a regular backup. The WindowsVSS
option is not
enabled by default.
Set to WindowsVSS: enabled
to enable the WindowsVSS backup option and create a Windows VSS
backup.
Set to WindowsVSS: disabled
to create a regular backup. The WindowsVSS
option
is not enabled by default.
public void setBackupOptions(Map<String,String> backupOptions)
Specifies the backup option for a selected resource. This option is only available for Windows Volume Shadow Copy Service (VSS) backup jobs. Valid values are as follows:
Set to WindowsVSS: enabled
to enable the WindowsVSS backup option and create a Windows VSS backup.
Set to WindowsVSS: disabled
to create a regular backup. The WindowsVSS
option is not
enabled by default.
backupOptions
- Specifies the backup option for a selected resource. This option is only available for Windows Volume
Shadow Copy Service (VSS) backup jobs. Valid values are as follows:
Set to WindowsVSS: enabled
to enable the WindowsVSS backup option and create a Windows VSS
backup.
Set to WindowsVSS: disabled
to create a regular backup. The WindowsVSS
option is
not enabled by default.
public AwsBackupBackupPlanAdvancedBackupSettingsDetails withBackupOptions(Map<String,String> backupOptions)
Specifies the backup option for a selected resource. This option is only available for Windows Volume Shadow Copy Service (VSS) backup jobs. Valid values are as follows:
Set to WindowsVSS: enabled
to enable the WindowsVSS backup option and create a Windows VSS backup.
Set to WindowsVSS: disabled
to create a regular backup. The WindowsVSS
option is not
enabled by default.
backupOptions
- Specifies the backup option for a selected resource. This option is only available for Windows Volume
Shadow Copy Service (VSS) backup jobs. Valid values are as follows:
Set to WindowsVSS: enabled
to enable the WindowsVSS backup option and create a Windows VSS
backup.
Set to WindowsVSS: disabled
to create a regular backup. The WindowsVSS
option is
not enabled by default.
public AwsBackupBackupPlanAdvancedBackupSettingsDetails addBackupOptionsEntry(String key, String value)
public AwsBackupBackupPlanAdvancedBackupSettingsDetails clearBackupOptionsEntries()
public void setResourceType(String resourceType)
The name of a resource type. The only supported resource type is Amazon EC2 instances with Windows VSS.
The only valid value is EC2
.
resourceType
- The name of a resource type. The only supported resource type is Amazon EC2 instances with Windows
VSS.
The only valid value is EC2
.
public String getResourceType()
The name of a resource type. The only supported resource type is Amazon EC2 instances with Windows VSS.
The only valid value is EC2
.
The only valid value is EC2
.
public AwsBackupBackupPlanAdvancedBackupSettingsDetails withResourceType(String resourceType)
The name of a resource type. The only supported resource type is Amazon EC2 instances with Windows VSS.
The only valid value is EC2
.
resourceType
- The name of a resource type. The only supported resource type is Amazon EC2 instances with Windows
VSS.
The only valid value is EC2
.
public String toString()
toString
in class Object
Object.toString()
public AwsBackupBackupPlanAdvancedBackupSettingsDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.