@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BackupPlanInput extends Object implements Serializable, Cloneable, StructuredPojo
Contains an optional backup plan display name and an array of BackupRule objects, each of which
specifies a backup rule. Each rule in a backup plan is a separate scheduled task.
| Constructor and Description |
|---|
BackupPlanInput() |
| Modifier and Type | Method and Description |
|---|---|
BackupPlanInput |
clone() |
boolean |
equals(Object obj) |
List<AdvancedBackupSetting> |
getAdvancedBackupSettings()
Specifies a list of
BackupOptions for each resource type. |
String |
getBackupPlanName()
The display name of a backup plan.
|
List<BackupRuleInput> |
getRules()
An array of
BackupRule objects, each of which specifies a scheduled task that is used to back up a
selection of resources. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAdvancedBackupSettings(Collection<AdvancedBackupSetting> advancedBackupSettings)
Specifies a list of
BackupOptions for each resource type. |
void |
setBackupPlanName(String backupPlanName)
The display name of a backup plan.
|
void |
setRules(Collection<BackupRuleInput> rules)
An array of
BackupRule objects, each of which specifies a scheduled task that is used to back up a
selection of resources. |
String |
toString()
Returns a string representation of this object.
|
BackupPlanInput |
withAdvancedBackupSettings(AdvancedBackupSetting... advancedBackupSettings)
Specifies a list of
BackupOptions for each resource type. |
BackupPlanInput |
withAdvancedBackupSettings(Collection<AdvancedBackupSetting> advancedBackupSettings)
Specifies a list of
BackupOptions for each resource type. |
BackupPlanInput |
withBackupPlanName(String backupPlanName)
The display name of a backup plan.
|
BackupPlanInput |
withRules(BackupRuleInput... rules)
An array of
BackupRule objects, each of which specifies a scheduled task that is used to back up a
selection of resources. |
BackupPlanInput |
withRules(Collection<BackupRuleInput> rules)
An array of
BackupRule objects, each of which specifies a scheduled task that is used to back up a
selection of resources. |
public void setBackupPlanName(String backupPlanName)
The display name of a backup plan. Must contain 1 to 50 alphanumeric or '-_.' characters.
backupPlanName - The display name of a backup plan. Must contain 1 to 50 alphanumeric or '-_.' characters.public String getBackupPlanName()
The display name of a backup plan. Must contain 1 to 50 alphanumeric or '-_.' characters.
public BackupPlanInput withBackupPlanName(String backupPlanName)
The display name of a backup plan. Must contain 1 to 50 alphanumeric or '-_.' characters.
backupPlanName - The display name of a backup plan. Must contain 1 to 50 alphanumeric or '-_.' characters.public List<BackupRuleInput> getRules()
An array of BackupRule objects, each of which specifies a scheduled task that is used to back up a
selection of resources.
BackupRule objects, each of which specifies a scheduled task that is used to
back up a selection of resources.public void setRules(Collection<BackupRuleInput> rules)
An array of BackupRule objects, each of which specifies a scheduled task that is used to back up a
selection of resources.
rules - An array of BackupRule objects, each of which specifies a scheduled task that is used to back
up a selection of resources.public BackupPlanInput withRules(BackupRuleInput... rules)
An array of BackupRule objects, each of which specifies a scheduled task that is used to back up a
selection of resources.
NOTE: This method appends the values to the existing list (if any). Use
setRules(java.util.Collection) or withRules(java.util.Collection) if you want to override the
existing values.
rules - An array of BackupRule objects, each of which specifies a scheduled task that is used to back
up a selection of resources.public BackupPlanInput withRules(Collection<BackupRuleInput> rules)
An array of BackupRule objects, each of which specifies a scheduled task that is used to back up a
selection of resources.
rules - An array of BackupRule objects, each of which specifies a scheduled task that is used to back
up a selection of resources.public List<AdvancedBackupSetting> getAdvancedBackupSettings()
Specifies a list of BackupOptions for each resource type. These settings are only available for
Windows Volume Shadow Copy Service (VSS) backup jobs.
BackupOptions for each resource type. These settings are only available
for Windows Volume Shadow Copy Service (VSS) backup jobs.public void setAdvancedBackupSettings(Collection<AdvancedBackupSetting> advancedBackupSettings)
Specifies a list of BackupOptions for each resource type. These settings are only available for
Windows Volume Shadow Copy Service (VSS) backup jobs.
advancedBackupSettings - Specifies a list of BackupOptions for each resource type. These settings are only available
for Windows Volume Shadow Copy Service (VSS) backup jobs.public BackupPlanInput withAdvancedBackupSettings(AdvancedBackupSetting... advancedBackupSettings)
Specifies a list of BackupOptions for each resource type. These settings are only available for
Windows Volume Shadow Copy Service (VSS) backup jobs.
NOTE: This method appends the values to the existing list (if any). Use
setAdvancedBackupSettings(java.util.Collection) or
withAdvancedBackupSettings(java.util.Collection) if you want to override the existing values.
advancedBackupSettings - Specifies a list of BackupOptions for each resource type. These settings are only available
for Windows Volume Shadow Copy Service (VSS) backup jobs.public BackupPlanInput withAdvancedBackupSettings(Collection<AdvancedBackupSetting> advancedBackupSettings)
Specifies a list of BackupOptions for each resource type. These settings are only available for
Windows Volume Shadow Copy Service (VSS) backup jobs.
advancedBackupSettings - Specifies a list of BackupOptions for each resource type. These settings are only available
for Windows Volume Shadow Copy Service (VSS) backup jobs.public String toString()
toString in class ObjectObject.toString()public BackupPlanInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.