| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Backup::AdvancedBackupSetting; | ||
| 3 | use Moose; | ||
| 4 | has BackupOptions => (is => 'ro', isa => 'Paws::Backup::BackupOptions'); | ||
| 5 | has ResourceType => (is => 'ro', isa => 'Str'); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::Backup::AdvancedBackupSetting | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::Backup::AdvancedBackupSetting object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { BackupOptions => $value, ..., ResourceType => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::Backup::AdvancedBackupSetting object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->BackupOptions | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | A list of backup options for each resource type. | ||
| 38 | |||
| 39 | =head1 ATTRIBUTES | ||
| 40 | |||
| 41 | |||
| 42 | =head2 BackupOptions => L<Paws::Backup::BackupOptions> | ||
| 43 | |||
| 44 | Specifies the backup option for a selected resource. This option is | ||
| 45 | only available for Windows VSS backup jobs. | ||
| 46 | |||
| 47 | Valid values: | ||
| 48 | |||
| 49 | Set to C<"WindowsVSS":"enabled"> to enable the WindowsVSS backup option | ||
| 50 | and create a VSS Windows backup. | ||
| 51 | |||
| 52 | Set to C<"WindowsVSS":"disabled"> to create a regular backup. The | ||
| 53 | WindowsVSS option is not enabled by default. | ||
| 54 | |||
| 55 | If you specify an invalid option, you get an | ||
| 56 | C<InvalidParameterValueException> exception. | ||
| 57 | |||
| 58 | For more information about Windows VSS backups, see Creating a | ||
| 59 | VSS-Enabled Windows Backup | ||
| 60 | (https://docs.aws.amazon.com/aws-backup/latest/devguide/windows-backups.html). | ||
| 61 | |||
| 62 | |||
| 63 | =head2 ResourceType => Str | ||
| 64 | |||
| 65 | Specifies an object containing resource type and backup options. The | ||
| 66 | only supported resource type is Amazon EC2 instances with Windows VSS. | ||
| 67 | For an CloudFormation example, see the sample CloudFormation template | ||
| 68 | to enable Windows VSS | ||
| 69 | (https://docs.aws.amazon.com/aws-backup/latest/devguide/integrate-cloudformation-with-aws-backup.html) | ||
| 70 | in the I<AWS Backup User Guide>. | ||
| 71 | |||
| 72 | Valid values: C<EC2>. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head1 SEE ALSO | ||
| 77 | |||
| 78 | This class forms part of L<Paws>, describing an object used in L<Paws::Backup> | ||
| 79 | |||
| 80 | =head1 BUGS and CONTRIBUTIONS | ||
| 81 | |||
| 82 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 83 | |||
| 84 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 85 | |||
| 86 | =cut | ||
| 87 |