File: Events.pm

package info (click to toggle)
libnet-amazon-ec2-perl 0.36-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 480 kB
  • sloc: perl: 3,323; makefile: 9
file content (56 lines) | stat: -rw-r--r-- 1,016 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
package Net::Amazon::EC2::Events;
$Net::Amazon::EC2::Events::VERSION = '0.36';
use Moose;

=head1 NAME

Net::Amazon::EC2::Events

=head1 DESCRIPTION

A class representing a EC2 Events block

=head1 ATTRIBUTES

=over

=item code (required)

The code of the event.

=item description (required)

The description of the event.

=item not_before (required)

The date the event will not occur before.

=item not_after (optional)

The date the event will not occur after.

=back

=cut

has 'code'        => ( is => 'ro', isa => 'Str', required => 1 );
has 'description' => ( is => 'ro', isa => 'Str', required => 1 );
has 'not_before'  => ( is => 'ro', isa => 'Str', required => 1 );
has 'not_after'   => ( is => 'ro', isa => 'Str', required => 0 );

__PACKAGE__->meta->make_immutable();

=head1 AUTHOR

Matt West <https://github.com/mhwest13>

=head1 COPYRIGHT

Copyright (c) 2014 Matt West. This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.

=cut

no Moose;
1;