File Coverage

blib/lib/Paws/StorageGateway/VolumeInfo.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::StorageGateway::VolumeInfo;
2 1     1   563 use Moose;
  1         5  
  1         8  
3             has GatewayARN => (is => 'ro', isa => 'Str');
4             has GatewayId => (is => 'ro', isa => 'Str');
5             has VolumeARN => (is => 'ro', isa => 'Str');
6             has VolumeId => (is => 'ro', isa => 'Str');
7             has VolumeSizeInBytes => (is => 'ro', isa => 'Int');
8             has VolumeType => (is => 'ro', isa => 'Str');
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::StorageGateway::VolumeInfo
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::StorageGateway::VolumeInfo object:
27              
28             $service_obj->Method(Att1 => { GatewayARN => $value, ..., VolumeType => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::StorageGateway::VolumeInfo object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->GatewayARN
36              
37             =head1 DESCRIPTION
38              
39             Describes a storage volume object.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 GatewayARN => Str
45              
46            
47              
48              
49             =head2 GatewayId => Str
50              
51             The unique identifier assigned to your gateway during activation. This
52             ID becomes part of the gateway Amazon Resource Name (ARN), which you
53             use as input for other operations.
54              
55             Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and
56             hyphens (-).
57              
58              
59             =head2 VolumeARN => Str
60              
61             The Amazon Resource Name (ARN) for the storage volume. For example, the
62             following is a valid ARN:
63              
64             C<arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB>
65              
66             Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and
67             hyphens (-).
68              
69              
70             =head2 VolumeId => Str
71              
72             The unique identifier assigned to the volume. This ID becomes part of
73             the volume Amazon Resource Name (ARN), which you use as input for other
74             operations.
75              
76             Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and
77             hyphens (-).
78              
79              
80             =head2 VolumeSizeInBytes => Int
81              
82             The size of the volume in bytes.
83              
84             Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and
85             hyphens (-).
86              
87              
88             =head2 VolumeType => Str
89              
90            
91              
92              
93              
94             =head1 SEE ALSO
95              
96             This class forms part of L<Paws>, describing an object used in L<Paws::StorageGateway>
97              
98             =head1 BUGS and CONTRIBUTIONS
99              
100             The source code is located here: https://github.com/pplu/aws-sdk-perl
101              
102             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
103              
104             =cut
105