blib/lib/Paws/StorageGateway/NFSFileShareInfo.pm untested

filter: Statementstmt 0.0% 0 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 25 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::StorageGateway::NFSFileShareInfo;
3 use Moose;
4 has CacheAttributes => (is => 'ro', isa => 'Paws::StorageGateway::CacheAttributes');
5 has ClientList => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
6 has DefaultStorageClass => (is => 'ro', isa => 'Str');
7 has FileShareARN => (is => 'ro', isa => 'Str');
8 has FileShareId => (is => 'ro', isa => 'Str');
9 has FileShareName => (is => 'ro', isa => 'Str');
10 has FileShareStatus => (is => 'ro', isa => 'Str');
11 has GatewayARN => (is => 'ro', isa => 'Str');
12 has GuessMIMETypeEnabled => (is => 'ro', isa => 'Bool');
13 has KMSEncrypted => (is => 'ro', isa => 'Bool');
14 has KMSKey => (is => 'ro', isa => 'Str');
15 has LocationARN => (is => 'ro', isa => 'Str');
16 has NFSFileShareDefaults => (is => 'ro', isa => 'Paws::StorageGateway::NFSFileShareDefaults');
17 has NotificationPolicy => (is => 'ro', isa => 'Str');
18 has ObjectACL => (is => 'ro', isa => 'Str');
19 has Path => (is => 'ro', isa => 'Str');
20 has ReadOnly => (is => 'ro', isa => 'Bool');
21 has RequesterPays => (is => 'ro', isa => 'Bool');
22 has Role => (is => 'ro', isa => 'Str');
23 has Squash => (is => 'ro', isa => 'Str');
24 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::StorageGateway::Tag]');
25  
26 1;
27  
28 ### main pod documentation begin ###
29  
30 =head1 NAME
31  
32 Paws::StorageGateway::NFSFileShareInfo
33  
34 =head1 USAGE
35  
36 This class represents one of two things:
37  
38 =head3 Arguments in a call to a service
39  
40 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
41 Each attribute should be used as a named argument in the calls that expect this type of object.
42  
43 As an example, if Att1 is expected to be a Paws::StorageGateway::NFSFileShareInfo object:
44  
45 $service_obj->Method(Att1 => { CacheAttributes => $value, ..., Tags => $value });
46  
47 =head3 Results returned from an API call
48  
49 Use accessors for each attribute. If Att1 is expected to be an Paws::StorageGateway::NFSFileShareInfo object:
50  
51 $result = $service_obj->Method(...);
52 $result->Att1->CacheAttributes
53  
54 =head1 DESCRIPTION
55  
56 The Unix file permissions and ownership information assigned, by
57 default, to native S3 objects when file gateway discovers them in S3
58 buckets. This operation is only supported in file gateways.
59  
60 =head1 ATTRIBUTES
61  
62  
63 =head2 CacheAttributes => L<Paws::StorageGateway::CacheAttributes>
64  
65 Refresh cache information for the file share.
66  
67  
68 =head2 ClientList => ArrayRef[Str|Undef]
69  
70  
71  
72  
73 =head2 DefaultStorageClass => Str
74  
75 The default storage class for objects put into an Amazon S3 bucket by
76 the file gateway. The default value is C<S3_INTELLIGENT_TIERING>.
77 Optional.
78  
79 Valid Values: C<S3_STANDARD> | C<S3_INTELLIGENT_TIERING> |
80 C<S3_STANDARD_IA> | C<S3_ONEZONE_IA>
81  
82  
83 =head2 FileShareARN => Str
84  
85  
86  
87  
88 =head2 FileShareId => Str
89  
90  
91  
92  
93 =head2 FileShareName => Str
94  
95 The name of the file share. Optional.
96  
97 C<FileShareName> must be set if an S3 prefix name is set in
98 C<LocationARN>.
99  
100  
101 =head2 FileShareStatus => Str
102  
103  
104  
105  
106 =head2 GatewayARN => Str
107  
108  
109  
110  
111 =head2 GuessMIMETypeEnabled => Bool
112  
113 A value that enables guessing of the MIME type for uploaded objects
114 based on file extensions. Set this value to C<true> to enable MIME type
115 guessing, otherwise set to C<false>. The default value is C<true>.
116  
117 Valid Values: C<true> | C<false>
118  
119  
120 =head2 KMSEncrypted => Bool
121  
122 Set to C<true> to use Amazon S3 server-side encryption with your own
123 AWS KMS key, or C<false> to use a key managed by Amazon S3. Optional.
124  
125 Valid Values: C<true> | C<false>
126  
127  
128 =head2 KMSKey => Str
129  
130  
131  
132  
133 =head2 LocationARN => Str
134  
135  
136  
137  
138 =head2 NFSFileShareDefaults => L<Paws::StorageGateway::NFSFileShareDefaults>
139  
140  
141  
142  
143 =head2 NotificationPolicy => Str
144  
145 The notification policy of the file share. C<SettlingTimeInSeconds>
146 controls the number of seconds to wait after the last point in time a
147 client wrote to a file before generating an C<ObjectUploaded>
148 notification. Because clients can make many small writes to files, it's
149 best to set this parameter for as long as possible to avoid generating
150 multiple notifications for the same file in a small time period.
151  
152 C<SettlingTimeInSeconds> has no effect on the timing of the object
153 uploading to Amazon S3, only the timing of the notification.
154  
155 The following example sets C<NotificationPolicy> on with
156 C<SettlingTimeInSeconds> set to 60.
157  
158 C<{\"Upload\": {\"SettlingTimeInSeconds\": 60}}>
159  
160 The following example sets C<NotificationPolicy> off.
161  
162 C<{}>
163  
164  
165 =head2 ObjectACL => Str
166  
167  
168  
169  
170 =head2 Path => Str
171  
172  
173  
174  
175 =head2 ReadOnly => Bool
176  
177 A value that sets the write status of a file share. Set this value to
178 C<true> to set the write status to read-only, otherwise set to
179 C<false>.
180  
181 Valid Values: C<true> | C<false>
182  
183  
184 =head2 RequesterPays => Bool
185  
186 A value that sets who pays the cost of the request and the cost
187 associated with data download from the S3 bucket. If this value is set
188 to C<true>, the requester pays the costs; otherwise, the S3 bucket
189 owner pays. However, the S3 bucket owner always pays the cost of
190 storing data.
191  
192 C<RequesterPays> is a configuration for the S3 bucket that backs the
193 file share, so make sure that the configuration on the file share is
194 the same as the S3 bucket configuration.
195  
196 Valid Values: C<true> | C<false>
197  
198  
199 =head2 Role => Str
200  
201  
202  
203  
204 =head2 Squash => Str
205  
206  
207  
208  
209 =head2 Tags => ArrayRef[L<Paws::StorageGateway::Tag>]
210  
211 A list of up to 50 tags assigned to the NFS file share, sorted
212 alphabetically by key name. Each tag is a key-value pair. For a gateway
213 with more than 10 tags assigned, you can view all tags using the
214 C<ListTagsForResource> API operation.
215  
216  
217  
218 =head1 SEE ALSO
219  
220 This class forms part of L<Paws>, describing an object used in L<Paws::StorageGateway>
221  
222 =head1 BUGS and CONTRIBUTIONS
223  
224 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
225  
226 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
227  
228 =cut
229