blib/lib/Paws/FSX/Alias.pm untested

filter: Statementstmt 0.0% 0 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 6 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::FSX::Alias;
3 use Moose;
4 has Lifecycle => (is => 'ro', isa => 'Str');
5 has Name => (is => 'ro', isa => 'Str');
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::FSX::Alias
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::FSX::Alias object:
25  
26 $service_obj->Method(Att1 => { Lifecycle => $value, ..., Name => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::FSX::Alias object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->Lifecycle
34  
35 =head1 DESCRIPTION
36  
37 A DNS alias that is associated with the file system. You can use a DNS
38 alias to access a file system using user-defined DNS names, in addition
39 to the default DNS name that Amazon FSx assigns to the file system. For
40 more information, see DNS aliases
41 (https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-dns-aliases.html)
42 in the I<FSx for Windows File Server User Guide>.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 Lifecycle => Str
48  
49 Describes the state of the DNS alias.
50  
51 =over
52  
53 =item *
54  
55 AVAILABLE - The DNS alias is associated with an Amazon FSx file system.
56  
57 =item *
58  
59 CREATING - Amazon FSx is creating the DNS alias and associating it with
60 the file system.
61  
62 =item *
63  
64 CREATE_FAILED - Amazon FSx was unable to associate the DNS alias with
65 the file system.
66  
67 =item *
68  
69 DELETING - Amazon FSx is disassociating the DNS alias from the file
70 system and deleting it.
71  
72 =item *
73  
74 DELETE_FAILED - Amazon FSx was unable to disassocate the DNS alias from
75 the file system.
76  
77 =back
78  
79  
80  
81 =head2 Name => Str
82  
83 The name of the DNS alias. The alias name has to meet the following
84 requirements:
85  
86 =over
87  
88 =item *
89  
90 Formatted as a fully-qualified domain name (FQDN), C<hostname.domain>,
91 for example, C<accounting.example.com>.
92  
93 =item *
94  
95 Can contain alphanumeric characters, the underscore (_), and the hyphen
96 (-).
97  
98 =item *
99  
100 Cannot start or end with a hyphen.
101  
102 =item *
103  
104 Can start with a numeric.
105  
106 =back
107  
108 For DNS names, Amazon FSx stores alphabetic characters as lowercase
109 letters (a-z), regardless of how you specify them: as uppercase
110 letters, lowercase letters, or the corresponding letters in escape
111 codes.
112  
113  
114  
115 =head1 SEE ALSO
116  
117 This class forms part of L<Paws>, describing an object used in L<Paws::FSX>
118  
119 =head1 BUGS and CONTRIBUTIONS
120  
121 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
122  
123 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
124  
125 =cut
126