File Coverage

blib/lib/Paws/StorageGateway/UpdateSnapshotSchedule.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::StorageGateway::UpdateSnapshotSchedule;
3 1     1   505 use Moose;
  1         3  
  1         10  
4             has Description => (is => 'ro', isa => 'Str');
5             has RecurrenceInHours => (is => 'ro', isa => 'Int', required => 1);
6             has StartAt => (is => 'ro', isa => 'Int', required => 1);
7             has VolumeARN => (is => 'ro', isa => 'Str', required => 1);
8              
9 1     1   6711 use MooseX::ClassAttribute;
  1         3  
  1         8  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateSnapshotSchedule');
12             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::StorageGateway::UpdateSnapshotScheduleOutput');
13             class_has _result_key => (isa => 'Str', is => 'ro');
14             1;
15              
16             ### main pod documentation begin ###
17              
18             =head1 NAME
19              
20             Paws::StorageGateway::UpdateSnapshotSchedule - Arguments for method UpdateSnapshotSchedule on Paws::StorageGateway
21              
22             =head1 DESCRIPTION
23              
24             This class represents the parameters used for calling the method UpdateSnapshotSchedule on the
25             AWS Storage Gateway service. Use the attributes of this class
26             as arguments to method UpdateSnapshotSchedule.
27              
28             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateSnapshotSchedule.
29              
30             As an example:
31              
32             $service_obj->UpdateSnapshotSchedule(Att1 => $value1, Att2 => $value2, ...);
33              
34             Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
35              
36             =head1 ATTRIBUTES
37              
38              
39             =head2 Description => Str
40              
41             Optional description of the snapshot that overwrites the existing
42             description.
43              
44              
45              
46             =head2 B<REQUIRED> RecurrenceInHours => Int
47              
48             Frequency of snapshots. Specify the number of hours between snapshots.
49              
50              
51              
52             =head2 B<REQUIRED> StartAt => Int
53              
54             The hour of the day at which the snapshot schedule begins represented
55             as I<hh>, where I<hh> is the hour (0 to 23). The hour of the day is in
56             the time zone of the gateway.
57              
58              
59              
60             =head2 B<REQUIRED> VolumeARN => Str
61              
62             The Amazon Resource Name (ARN) of the volume. Use the ListVolumes
63             operation to return a list of gateway volumes.
64              
65              
66              
67              
68             =head1 SEE ALSO
69              
70             This class forms part of L<Paws>, documenting arguments for method UpdateSnapshotSchedule in L<Paws::StorageGateway>
71              
72             =head1 BUGS and CONTRIBUTIONS
73              
74             The source code is located here: https://github.com/pplu/aws-sdk-perl
75              
76             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
77              
78             =cut
79