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

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 16 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::DomainEntry;
3 use Moose;
4 has Id => (is => 'ro', isa => 'Str', request_name => 'id', traits => ['NameInRequest']);
5 has IsAlias => (is => 'ro', isa => 'Bool', request_name => 'isAlias', traits => ['NameInRequest']);
6 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
7 has Options => (is => 'ro', isa => 'Paws::Lightsail::DomainEntryOptions', request_name => 'options', traits => ['NameInRequest']);
8 has Target => (is => 'ro', isa => 'Str', request_name => 'target', traits => ['NameInRequest']);
9 has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']);
10  
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::Lightsail::DomainEntry
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::Lightsail::DomainEntry object:
29  
30 $service_obj->Method(Att1 => { Id => $value, ..., Type => $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::Lightsail::DomainEntry object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->Id
38  
39 =head1 DESCRIPTION
40  
41 Describes a domain recordset entry.
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 Id => Str
47  
48 The ID of the domain recordset entry.
49  
50  
51 =head2 IsAlias => Bool
52  
53 When C<true>, specifies whether the domain entry is an alias used by
54 the Lightsail load balancer. You can include an alias (A type) record
55 in your request, which points to a load balancer DNS name and routes
56 traffic to your load balancer.
57  
58  
59 =head2 Name => Str
60  
61 The name of the domain.
62  
63  
64 =head2 Options => L<Paws::Lightsail::DomainEntryOptions>
65  
66 (Deprecated) The options for the domain entry.
67  
68 In releases prior to November 29, 2017, this parameter was not included
69 in the API response. It is now deprecated.
70  
71  
72 =head2 Target => Str
73  
74 The target IP address (e.g., C<192.0.2.0>), or AWS name server (e.g.,
75 C<ns-111.awsdns-22.com.>).
76  
77 For Lightsail load balancers, the value looks like
78 C<ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com>.
79 For Lightsail distributions, the value looks like
80 C<exampled1182ne.cloudfront.net>. For Lightsail container services, the
81 value looks like
82 C<container-service-1.example23scljs.us-west-2.cs.amazonlightsail.com>.
83 Be sure to also set C<isAlias> to C<true> when setting up an A record
84 for a Lightsail load balancer, distribution, or container service.
85  
86  
87 =head2 Type => Str
88  
89 The type of domain entry, such as address for IPv4 (A), address for
90 IPv6 (AAAA), canonical name (CNAME), mail exchanger (MX), name server
91 (NS), start of authority (SOA), service locator (SRV), or text (TXT).
92  
93 The following domain entry types can be used:
94  
95 =over
96  
97 =item *
98  
99 C<A>
100  
101 =item *
102  
103 C<AAAA>
104  
105 =item *
106  
107 C<CNAME>
108  
109 =item *
110  
111 C<MX>
112  
113 =item *
114  
115 C<NS>
116  
117 =item *
118  
119 C<SOA>
120  
121 =item *
122  
123 C<SRV>
124  
125 =item *
126  
127 C<TXT>
128  
129 =back
130  
131  
132  
133  
134 =head1 SEE ALSO
135  
136 This class forms part of L<Paws>, describing an object used in L<Paws::Lightsail>
137  
138 =head1 BUGS and CONTRIBUTIONS
139  
140 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
141  
142 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
143  
144 =cut
145