blib/lib/Paws/EC2/TrafficMirrorFilterRule.pm untested

filter: Statementstmt 0.0% 0 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 26 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package Paws::EC2::TrafficMirrorFilterRule;
2 use Moose;
3 has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']);
4 has DestinationCidrBlock => (is => 'ro', isa => 'Str', request_name => 'destinationCidrBlock', traits => ['NameInRequest']);
5 has DestinationPortRange => (is => 'ro', isa => 'Paws::EC2::TrafficMirrorPortRange', request_name => 'destinationPortRange', traits => ['NameInRequest']);
6 has Protocol => (is => 'ro', isa => 'Int', request_name => 'protocol', traits => ['NameInRequest']);
7 has RuleAction => (is => 'ro', isa => 'Str', request_name => 'ruleAction', traits => ['NameInRequest']);
8 has RuleNumber => (is => 'ro', isa => 'Int', request_name => 'ruleNumber', traits => ['NameInRequest']);
9 has SourceCidrBlock => (is => 'ro', isa => 'Str', request_name => 'sourceCidrBlock', traits => ['NameInRequest']);
10 has SourcePortRange => (is => 'ro', isa => 'Paws::EC2::TrafficMirrorPortRange', request_name => 'sourcePortRange', traits => ['NameInRequest']);
11 has TrafficDirection => (is => 'ro', isa => 'Str', request_name => 'trafficDirection', traits => ['NameInRequest']);
12 has TrafficMirrorFilterId => (is => 'ro', isa => 'Str', request_name => 'trafficMirrorFilterId', traits => ['NameInRequest']);
13 has TrafficMirrorFilterRuleId => (is => 'ro', isa => 'Str', request_name => 'trafficMirrorFilterRuleId', traits => ['NameInRequest']);
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::EC2::TrafficMirrorFilterRule
21  
22 =head1 USAGE
23  
24 This class represents one of two things:
25  
26 =head3 Arguments in a call to a service
27  
28 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
29 Each attribute should be used as a named argument in the calls that expect this type of object.
30  
31 As an example, if Att1 is expected to be a Paws::EC2::TrafficMirrorFilterRule object:
32  
33 $service_obj->Method(Att1 => { Description => $value, ..., TrafficMirrorFilterRuleId => $value });
34  
35 =head3 Results returned from an API call
36  
37 Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::TrafficMirrorFilterRule object:
38  
39 $result = $service_obj->Method(...);
40 $result->Att1->Description
41  
42 =head1 DESCRIPTION
43  
44 This class has no description
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 Description => Str
50  
51 The description of the Traffic Mirror rule.
52  
53  
54 =head2 DestinationCidrBlock => Str
55  
56 The destination CIDR block assigned to the Traffic Mirror rule.
57  
58  
59 =head2 DestinationPortRange => L<Paws::EC2::TrafficMirrorPortRange>
60  
61 The destination port range assigned to the Traffic Mirror rule.
62  
63  
64 =head2 Protocol => Int
65  
66 The protocol assigned to the Traffic Mirror rule.
67  
68  
69 =head2 RuleAction => Str
70  
71 The action assigned to the Traffic Mirror rule.
72  
73  
74 =head2 RuleNumber => Int
75  
76 The rule number of the Traffic Mirror rule.
77  
78  
79 =head2 SourceCidrBlock => Str
80  
81 The source CIDR block assigned to the Traffic Mirror rule.
82  
83  
84 =head2 SourcePortRange => L<Paws::EC2::TrafficMirrorPortRange>
85  
86 The source port range assigned to the Traffic Mirror rule.
87  
88  
89 =head2 TrafficDirection => Str
90  
91 The traffic direction assigned to the Traffic Mirror rule.
92  
93  
94 =head2 TrafficMirrorFilterId => Str
95  
96 The ID of the Traffic Mirror filter that the rule is associated with.
97  
98  
99 =head2 TrafficMirrorFilterRuleId => Str
100  
101 The ID of the Traffic Mirror rule.
102  
103  
104  
105 =head1 SEE ALSO
106  
107 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
108  
109 =head1 BUGS and CONTRIBUTIONS
110  
111 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
112  
113 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
114  
115 =cut