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

filter: Statementstmt 0.0% 0 / 55 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 56 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::RelationalDatabase;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']);
5 has BackupRetentionEnabled => (is => 'ro', isa => 'Bool', request_name => 'backupRetentionEnabled', traits => ['NameInRequest']);
6 has CaCertificateIdentifier => (is => 'ro', isa => 'Str', request_name => 'caCertificateIdentifier', traits => ['NameInRequest']);
7 has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest']);
8 has Engine => (is => 'ro', isa => 'Str', request_name => 'engine', traits => ['NameInRequest']);
9 has EngineVersion => (is => 'ro', isa => 'Str', request_name => 'engineVersion', traits => ['NameInRequest']);
10 has Hardware => (is => 'ro', isa => 'Paws::Lightsail::RelationalDatabaseHardware', request_name => 'hardware', traits => ['NameInRequest']);
11 has LatestRestorableTime => (is => 'ro', isa => 'Str', request_name => 'latestRestorableTime', traits => ['NameInRequest']);
12 has Location => (is => 'ro', isa => 'Paws::Lightsail::ResourceLocation', request_name => 'location', traits => ['NameInRequest']);
13 has MasterDatabaseName => (is => 'ro', isa => 'Str', request_name => 'masterDatabaseName', traits => ['NameInRequest']);
14 has MasterEndpoint => (is => 'ro', isa => 'Paws::Lightsail::RelationalDatabaseEndpoint', request_name => 'masterEndpoint', traits => ['NameInRequest']);
15 has MasterUsername => (is => 'ro', isa => 'Str', request_name => 'masterUsername', traits => ['NameInRequest']);
16 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
17 has ParameterApplyStatus => (is => 'ro', isa => 'Str', request_name => 'parameterApplyStatus', traits => ['NameInRequest']);
18 has PendingMaintenanceActions => (is => 'ro', isa => 'ArrayRef[Paws::Lightsail::PendingMaintenanceAction]', request_name => 'pendingMaintenanceActions', traits => ['NameInRequest']);
19 has PendingModifiedValues => (is => 'ro', isa => 'Paws::Lightsail::PendingModifiedRelationalDatabaseValues', request_name => 'pendingModifiedValues', traits => ['NameInRequest']);
20 has PreferredBackupWindow => (is => 'ro', isa => 'Str', request_name => 'preferredBackupWindow', traits => ['NameInRequest']);
21 has PreferredMaintenanceWindow => (is => 'ro', isa => 'Str', request_name => 'preferredMaintenanceWindow', traits => ['NameInRequest']);
22 has PubliclyAccessible => (is => 'ro', isa => 'Bool', request_name => 'publiclyAccessible', traits => ['NameInRequest']);
23 has RelationalDatabaseBlueprintId => (is => 'ro', isa => 'Str', request_name => 'relationalDatabaseBlueprintId', traits => ['NameInRequest']);
24 has RelationalDatabaseBundleId => (is => 'ro', isa => 'Str', request_name => 'relationalDatabaseBundleId', traits => ['NameInRequest']);
25 has ResourceType => (is => 'ro', isa => 'Str', request_name => 'resourceType', traits => ['NameInRequest']);
26 has SecondaryAvailabilityZone => (is => 'ro', isa => 'Str', request_name => 'secondaryAvailabilityZone', traits => ['NameInRequest']);
27 has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest']);
28 has SupportCode => (is => 'ro', isa => 'Str', request_name => 'supportCode', traits => ['NameInRequest']);
29 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::Lightsail::Tag]', request_name => 'tags', traits => ['NameInRequest']);
30  
31 1;
32  
33 ### main pod documentation begin ###
34  
35 =head1 NAME
36  
37 Paws::Lightsail::RelationalDatabase
38  
39 =head1 USAGE
40  
41 This class represents one of two things:
42  
43 =head3 Arguments in a call to a service
44  
45 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
46 Each attribute should be used as a named argument in the calls that expect this type of object.
47  
48 As an example, if Att1 is expected to be a Paws::Lightsail::RelationalDatabase object:
49  
50 $service_obj->Method(Att1 => { Arn => $value, ..., Tags => $value });
51  
52 =head3 Results returned from an API call
53  
54 Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::RelationalDatabase object:
55  
56 $result = $service_obj->Method(...);
57 $result->Att1->Arn
58  
59 =head1 DESCRIPTION
60  
61 Describes a database.
62  
63 =head1 ATTRIBUTES
64  
65  
66 =head2 Arn => Str
67  
68 The Amazon Resource Name (ARN) of the database.
69  
70  
71 =head2 BackupRetentionEnabled => Bool
72  
73 A Boolean value indicating whether automated backup retention is
74 enabled for the database.
75  
76  
77 =head2 CaCertificateIdentifier => Str
78  
79 The certificate associated with the database.
80  
81  
82 =head2 CreatedAt => Str
83  
84 The timestamp when the database was created. Formatted in Unix time.
85  
86  
87 =head2 Engine => Str
88  
89 The database software (for example, C<MySQL>).
90  
91  
92 =head2 EngineVersion => Str
93  
94 The database engine version (for example, C<5.7.23>).
95  
96  
97 =head2 Hardware => L<Paws::Lightsail::RelationalDatabaseHardware>
98  
99 Describes the hardware of the database.
100  
101  
102 =head2 LatestRestorableTime => Str
103  
104 The latest point in time to which the database can be restored.
105 Formatted in Unix time.
106  
107  
108 =head2 Location => L<Paws::Lightsail::ResourceLocation>
109  
110 The Region name and Availability Zone where the database is located.
111  
112  
113 =head2 MasterDatabaseName => Str
114  
115 The name of the master database created when the Lightsail database
116 resource is created.
117  
118  
119 =head2 MasterEndpoint => L<Paws::Lightsail::RelationalDatabaseEndpoint>
120  
121 The master endpoint for the database.
122  
123  
124 =head2 MasterUsername => Str
125  
126 The master user name of the database.
127  
128  
129 =head2 Name => Str
130  
131 The unique name of the database resource in Lightsail.
132  
133  
134 =head2 ParameterApplyStatus => Str
135  
136 The status of parameter updates for the database.
137  
138  
139 =head2 PendingMaintenanceActions => ArrayRef[L<Paws::Lightsail::PendingMaintenanceAction>]
140  
141 Describes the pending maintenance actions for the database.
142  
143  
144 =head2 PendingModifiedValues => L<Paws::Lightsail::PendingModifiedRelationalDatabaseValues>
145  
146 Describes pending database value modifications.
147  
148  
149 =head2 PreferredBackupWindow => Str
150  
151 The daily time range during which automated backups are created for the
152 database (for example, C<16:00-16:30>).
153  
154  
155 =head2 PreferredMaintenanceWindow => Str
156  
157 The weekly time range during which system maintenance can occur on the
158 database.
159  
160 In the format C<ddd:hh24:mi-ddd:hh24:mi>. For example,
161 C<Tue:17:00-Tue:17:30>.
162  
163  
164 =head2 PubliclyAccessible => Bool
165  
166 A Boolean value indicating whether the database is publicly accessible.
167  
168  
169 =head2 RelationalDatabaseBlueprintId => Str
170  
171 The blueprint ID for the database. A blueprint describes the major
172 engine version of a database.
173  
174  
175 =head2 RelationalDatabaseBundleId => Str
176  
177 The bundle ID for the database. A bundle describes the performance
178 specifications for your database.
179  
180  
181 =head2 ResourceType => Str
182  
183 The Lightsail resource type for the database (for example,
184 C<RelationalDatabase>).
185  
186  
187 =head2 SecondaryAvailabilityZone => Str
188  
189 Describes the secondary Availability Zone of a high availability
190 database.
191  
192 The secondary database is used for failover support of a high
193 availability database.
194  
195  
196 =head2 State => Str
197  
198 Describes the current state of the database.
199  
200  
201 =head2 SupportCode => Str
202  
203 The support code for the database. Include this code in your email to
204 support when you have questions about a database in Lightsail. This
205 code enables our support team to look up your Lightsail information
206 more easily.
207  
208  
209 =head2 Tags => ArrayRef[L<Paws::Lightsail::Tag>]
210  
211 The tag keys and optional values for the resource. For more information
212 about tags in Lightsail, see the Lightsail Dev Guide
213 (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).
214  
215  
216  
217 =head1 SEE ALSO
218  
219 This class forms part of L<Paws>, describing an object used in L<Paws::Lightsail>
220  
221 =head1 BUGS and CONTRIBUTIONS
222  
223 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
224  
225 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
226  
227 =cut
228