| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::S3::ObjectVersion; | ||
| 3 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | has ETag => (is => 'ro', isa => 'Str'); | |
| 5 | 1 | has IsLatest => (is => 'ro', isa => 'Bool'); | |
| 6 | 1 | has Key => (is => 'ro', isa => 'Str'); | |
| 7 | 1 | has LastModified => (is => 'ro', isa => 'Str'); | |
| 8 | 1 | has Owner => (is => 'ro', isa => 'Paws::S3::Owner'); | |
| 9 | 1 | has Size => (is => 'ro', isa => 'Int'); | |
| 10 | 1 | has StorageClass => (is => 'ro', isa => 'Str'); | |
| 11 | 1 | has VersionId => (is => 'ro', isa => 'Str'); | |
| 12 | |||
| 13 | 1 | 1; | |
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::S3::ObjectVersion | ||
| 20 | |||
| 21 | =head1 USAGE | ||
| 22 | |||
| 23 | This class represents one of two things: | ||
| 24 | |||
| 25 | =head3 Arguments in a call to a service | ||
| 26 | |||
| 27 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 28 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 29 | |||
| 30 | As an example, if Att1 is expected to be a Paws::S3::ObjectVersion object: | ||
| 31 | |||
| 32 | $service_obj->Method(Att1 => { ETag => $value, ..., VersionId => $value }); | ||
| 33 | |||
| 34 | =head3 Results returned from an API call | ||
| 35 | |||
| 36 | Use accessors for each attribute. If Att1 is expected to be an Paws::S3::ObjectVersion object: | ||
| 37 | |||
| 38 | $result = $service_obj->Method(...); | ||
| 39 | $result->Att1->ETag | ||
| 40 | |||
| 41 | =head1 DESCRIPTION | ||
| 42 | |||
| 43 | The version of an object. | ||
| 44 | |||
| 45 | =head1 ATTRIBUTES | ||
| 46 | |||
| 47 | |||
| 48 | =head2 ETag => Str | ||
| 49 | |||
| 50 | The entity tag is an MD5 hash of that version of the object. | ||
| 51 | |||
| 52 | |||
| 53 | =head2 IsLatest => Bool | ||
| 54 | |||
| 55 | Specifies whether the object is (true) or is not (false) the latest | ||
| 56 | version of an object. | ||
| 57 | |||
| 58 | |||
| 59 | =head2 Key => Str | ||
| 60 | |||
| 61 | The object key. | ||
| 62 | |||
| 63 | |||
| 64 | =head2 LastModified => Str | ||
| 65 | |||
| 66 | Date and time the object was last modified. | ||
| 67 | |||
| 68 | |||
| 69 | =head2 Owner => L<Paws::S3::Owner> | ||
| 70 | |||
| 71 | Specifies the owner of the object. | ||
| 72 | |||
| 73 | |||
| 74 | =head2 Size => Int | ||
| 75 | |||
| 76 | Size in bytes of the object. | ||
| 77 | |||
| 78 | |||
| 79 | =head2 StorageClass => Str | ||
| 80 | |||
| 81 | The class of storage used to store the object. | ||
| 82 | |||
| 83 | |||
| 84 | =head2 VersionId => Str | ||
| 85 | |||
| 86 | Version ID of an object. | ||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | =head1 SEE ALSO | ||
| 91 | |||
| 92 | This class forms part of L<Paws>, describing an object used in L<Paws::S3> | ||
| 93 | |||
| 94 | =head1 BUGS and CONTRIBUTIONS | ||
| 95 | |||
| 96 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 97 | |||
| 98 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 99 | |||
| 100 | =cut | ||
| 101 | |||