blib/lib/Paws/Lightsail/Origin.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Lightsail::Origin;
3 use Moose;
4 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
5 has ProtocolPolicy => (is => 'ro', isa => 'Str', request_name => 'protocolPolicy', traits => ['NameInRequest']);
6 has RegionName => (is => 'ro', isa => 'Str', request_name => 'regionName', traits => ['NameInRequest']);
7 has ResourceType => (is => 'ro', isa => 'Str', request_name => 'resourceType', traits => ['NameInRequest']);
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::Lightsail::Origin
16  
17 =head1 USAGE
18  
19 This class represents one of two things:
20  
21 =head3 Arguments in a call to a service
22  
23 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24 Each attribute should be used as a named argument in the calls that expect this type of object.
25  
26 As an example, if Att1 is expected to be a Paws::Lightsail::Origin object:
27  
28 $service_obj->Method(Att1 => { Name => $value, ..., ResourceType => $value });
29  
30 =head3 Results returned from an API call
31  
32 Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::Origin object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->Name
36  
37 =head1 DESCRIPTION
38  
39 Describes the origin resource of an Amazon Lightsail content delivery
40 network (CDN) distribution.
41  
42 An origin can be a Lightsail instance or load balancer. A distribution
43 pulls content from an origin, caches it, and serves it to viewers via a
44 worldwide network of edge servers.
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 Name => Str
50  
51 The name of the origin resource.
52  
53  
54 =head2 ProtocolPolicy => Str
55  
56 The protocol that your Amazon Lightsail distribution uses when
57 establishing a connection with your origin to pull content.
58  
59  
60 =head2 RegionName => Str
61  
62 The AWS Region name of the origin resource.
63  
64  
65 =head2 ResourceType => Str
66  
67 The resource type of the origin resource (e.g., I<Instance>).
68  
69  
70  
71 =head1 SEE ALSO
72  
73 This class forms part of L<Paws>, describing an object used in L<Paws::Lightsail>
74  
75 =head1 BUGS and CONTRIBUTIONS
76  
77 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
78  
79 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
80  
81 =cut
82