blib/lib/Paws/ELBv2/Rule.pm untested

filter: Statementstmt 0.0% 0 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 9 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::ELBv2::Rule;
3 use Moose;
4 has Actions => (is => 'ro', isa => 'ArrayRef[Paws::ELBv2::Action]');
5 has Conditions => (is => 'ro', isa => 'ArrayRef[Paws::ELBv2::RuleCondition]');
6 has IsDefault => (is => 'ro', isa => 'Bool');
7 has Priority => (is => 'ro', isa => 'Str');
8 has RuleArn => (is => 'ro', isa => 'Str');
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::ELBv2::Rule
17  
18 =head1 USAGE
19  
20 This class represents one of two things:
21  
22 =head3 Arguments in a call to a service
23  
24 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25 Each attribute should be used as a named argument in the calls that expect this type of object.
26  
27 As an example, if Att1 is expected to be a Paws::ELBv2::Rule object:
28  
29 $service_obj->Method(Att1 => { Actions => $value, ..., RuleArn => $value });
30  
31 =head3 Results returned from an API call
32  
33 Use accessors for each attribute. If Att1 is expected to be an Paws::ELBv2::Rule object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->Actions
37  
38 =head1 DESCRIPTION
39  
40 Information about a rule.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 Actions => ArrayRef[L<Paws::ELBv2::Action>]
46  
47 The actions. Each rule must include exactly one of the following types
48 of actions: C<forward>, C<redirect>, or C<fixed-response>, and it must
49 be the last action to be performed.
50  
51  
52 =head2 Conditions => ArrayRef[L<Paws::ELBv2::RuleCondition>]
53  
54 The conditions. Each rule can include zero or one of the following
55 conditions: C<http-request-method>, C<host-header>, C<path-pattern>,
56 and C<source-ip>, and zero or more of the following conditions:
57 C<http-header> and C<query-string>.
58  
59  
60 =head2 IsDefault => Bool
61  
62 Indicates whether this is the default rule.
63  
64  
65 =head2 Priority => Str
66  
67 The priority.
68  
69  
70 =head2 RuleArn => Str
71  
72 The Amazon Resource Name (ARN) of the rule.
73  
74  
75  
76 =head1 SEE ALSO
77  
78 This class forms part of L<Paws>, describing an object used in L<Paws::ELBv2>
79  
80 =head1 BUGS and CONTRIBUTIONS
81  
82 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
83  
84 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
85  
86 =cut
87