File Coverage

blib/lib/Paws/DirectConnect/NewPublicVirtualInterface.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::DirectConnect::NewPublicVirtualInterface;
2 1     1   453 use Moose;
  1         3  
  1         10  
3             has AddressFamily => (is => 'ro', isa => 'Str', request_name => 'addressFamily', traits => ['NameInRequest']);
4             has AmazonAddress => (is => 'ro', isa => 'Str', request_name => 'amazonAddress', traits => ['NameInRequest']);
5             has Asn => (is => 'ro', isa => 'Int', request_name => 'asn', traits => ['NameInRequest'], required => 1);
6             has AuthKey => (is => 'ro', isa => 'Str', request_name => 'authKey', traits => ['NameInRequest']);
7             has CustomerAddress => (is => 'ro', isa => 'Str', request_name => 'customerAddress', traits => ['NameInRequest']);
8             has RouteFilterPrefixes => (is => 'ro', isa => 'ArrayRef[Paws::DirectConnect::RouteFilterPrefix]', request_name => 'routeFilterPrefixes', traits => ['NameInRequest']);
9             has VirtualInterfaceName => (is => 'ro', isa => 'Str', request_name => 'virtualInterfaceName', traits => ['NameInRequest'], required => 1);
10             has Vlan => (is => 'ro', isa => 'Int', request_name => 'vlan', traits => ['NameInRequest'], required => 1);
11             1;
12              
13             ### main pod documentation begin ###
14              
15             =head1 NAME
16              
17             Paws::DirectConnect::NewPublicVirtualInterface
18              
19             =head1 USAGE
20              
21             This class represents one of two things:
22              
23             =head3 Arguments in a call to a service
24              
25             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26             Each attribute should be used as a named argument in the calls that expect this type of object.
27              
28             As an example, if Att1 is expected to be a Paws::DirectConnect::NewPublicVirtualInterface object:
29              
30             $service_obj->Method(Att1 => { AddressFamily => $value, ..., Vlan => $value });
31              
32             =head3 Results returned from an API call
33              
34             Use accessors for each attribute. If Att1 is expected to be an Paws::DirectConnect::NewPublicVirtualInterface object:
35              
36             $result = $service_obj->Method(...);
37             $result->Att1->AddressFamily
38              
39             =head1 DESCRIPTION
40              
41             A structure containing information about a new public virtual
42             interface.
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 AddressFamily => Str
48              
49            
50              
51              
52             =head2 AmazonAddress => Str
53              
54            
55              
56              
57             =head2 B<REQUIRED> Asn => Int
58              
59            
60              
61              
62             =head2 AuthKey => Str
63              
64            
65              
66              
67             =head2 CustomerAddress => Str
68              
69            
70              
71              
72             =head2 RouteFilterPrefixes => ArrayRef[L<Paws::DirectConnect::RouteFilterPrefix>]
73              
74            
75              
76              
77             =head2 B<REQUIRED> VirtualInterfaceName => Str
78              
79            
80              
81              
82             =head2 B<REQUIRED> Vlan => Int
83              
84            
85              
86              
87              
88             =head1 SEE ALSO
89              
90             This class forms part of L<Paws>, describing an object used in L<Paws::DirectConnect>
91              
92             =head1 BUGS and CONTRIBUTIONS
93              
94             The source code is located here: https://github.com/pplu/aws-sdk-perl
95              
96             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
97              
98             =cut
99