aws_sdk_fsx/operation/update_file_system/builders.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2pub use crate::operation::update_file_system::_update_file_system_output::UpdateFileSystemOutputBuilder;
3
4pub use crate::operation::update_file_system::_update_file_system_input::UpdateFileSystemInputBuilder;
5
6impl crate::operation::update_file_system::builders::UpdateFileSystemInputBuilder {
7 /// Sends a request with this input using the given client.
8 pub async fn send_with(
9 self,
10 client: &crate::Client,
11 ) -> ::std::result::Result<
12 crate::operation::update_file_system::UpdateFileSystemOutput,
13 ::aws_smithy_runtime_api::client::result::SdkError<
14 crate::operation::update_file_system::UpdateFileSystemError,
15 ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
16 >,
17 > {
18 let mut fluent_builder = client.update_file_system();
19 fluent_builder.inner = self;
20 fluent_builder.send().await
21 }
22}
23/// Fluent builder constructing a request to `UpdateFileSystem`.
24///
25/// <p>Use this operation to update the configuration of an existing Amazon FSx file system. You can update multiple properties in a single request.</p>
26/// <p>For FSx for Windows File Server file systems, you can update the following properties:</p>
27/// <ul>
28/// <li>
29/// <p><code>AuditLogConfiguration</code></p></li>
30/// <li>
31/// <p><code>AutomaticBackupRetentionDays</code></p></li>
32/// <li>
33/// <p><code>DailyAutomaticBackupStartTime</code></p></li>
34/// <li>
35/// <p><code>DiskIopsConfiguration</code></p></li>
36/// <li>
37/// <p><code>SelfManagedActiveDirectoryConfiguration</code></p></li>
38/// <li>
39/// <p><code>StorageCapacity</code></p></li>
40/// <li>
41/// <p><code>StorageType</code></p></li>
42/// <li>
43/// <p><code>ThroughputCapacity</code></p></li>
44/// <li>
45/// <p><code>WeeklyMaintenanceStartTime</code></p></li>
46/// </ul>
47/// <p>For FSx for Lustre file systems, you can update the following properties:</p>
48/// <ul>
49/// <li>
50/// <p><code>AutoImportPolicy</code></p></li>
51/// <li>
52/// <p><code>AutomaticBackupRetentionDays</code></p></li>
53/// <li>
54/// <p><code>DailyAutomaticBackupStartTime</code></p></li>
55/// <li>
56/// <p><code>DataCompressionType</code></p></li>
57/// <li>
58/// <p><code>FileSystemTypeVersion</code></p></li>
59/// <li>
60/// <p><code>LogConfiguration</code></p></li>
61/// <li>
62/// <p><code>LustreReadCacheConfiguration</code></p></li>
63/// <li>
64/// <p><code>LustreRootSquashConfiguration</code></p></li>
65/// <li>
66/// <p><code>MetadataConfiguration</code></p></li>
67/// <li>
68/// <p><code>PerUnitStorageThroughput</code></p></li>
69/// <li>
70/// <p><code>StorageCapacity</code></p></li>
71/// <li>
72/// <p><code>ThroughputCapacity</code></p></li>
73/// <li>
74/// <p><code>WeeklyMaintenanceStartTime</code></p></li>
75/// </ul>
76/// <p>For FSx for ONTAP file systems, you can update the following properties:</p>
77/// <ul>
78/// <li>
79/// <p><code>AddRouteTableIds</code></p></li>
80/// <li>
81/// <p><code>AutomaticBackupRetentionDays</code></p></li>
82/// <li>
83/// <p><code>DailyAutomaticBackupStartTime</code></p></li>
84/// <li>
85/// <p><code>DiskIopsConfiguration</code></p></li>
86/// <li>
87/// <p><code>EndpointIpv6AddressRange</code></p></li>
88/// <li>
89/// <p><code>FsxAdminPassword</code></p></li>
90/// <li>
91/// <p><code>HAPairs</code></p></li>
92/// <li>
93/// <p><code>RemoveRouteTableIds</code></p></li>
94/// <li>
95/// <p><code>StorageCapacity</code></p></li>
96/// <li>
97/// <p><code>ThroughputCapacity</code></p></li>
98/// <li>
99/// <p><code>ThroughputCapacityPerHAPair</code></p></li>
100/// <li>
101/// <p><code>WeeklyMaintenanceStartTime</code></p></li>
102/// </ul>
103/// <p>For FSx for OpenZFS file systems, you can update the following properties:</p>
104/// <ul>
105/// <li>
106/// <p><code>AddRouteTableIds</code></p></li>
107/// <li>
108/// <p><code>AutomaticBackupRetentionDays</code></p></li>
109/// <li>
110/// <p><code>CopyTagsToBackups</code></p></li>
111/// <li>
112/// <p><code>CopyTagsToVolumes</code></p></li>
113/// <li>
114/// <p><code>DailyAutomaticBackupStartTime</code></p></li>
115/// <li>
116/// <p><code>DiskIopsConfiguration</code></p></li>
117/// <li>
118/// <p><code>EndpointIpv6AddressRange</code></p></li>
119/// <li>
120/// <p><code>ReadCacheConfiguration</code></p></li>
121/// <li>
122/// <p><code>RemoveRouteTableIds</code></p></li>
123/// <li>
124/// <p><code>StorageCapacity</code></p></li>
125/// <li>
126/// <p><code>ThroughputCapacity</code></p></li>
127/// <li>
128/// <p><code>WeeklyMaintenanceStartTime</code></p></li>
129/// </ul>
130#[derive(::std::clone::Clone, ::std::fmt::Debug)]
131pub struct UpdateFileSystemFluentBuilder {
132 handle: ::std::sync::Arc<crate::client::Handle>,
133 inner: crate::operation::update_file_system::builders::UpdateFileSystemInputBuilder,
134 config_override: ::std::option::Option<crate::config::Builder>,
135}
136impl
137 crate::client::customize::internal::CustomizableSend<
138 crate::operation::update_file_system::UpdateFileSystemOutput,
139 crate::operation::update_file_system::UpdateFileSystemError,
140 > for UpdateFileSystemFluentBuilder
141{
142 fn send(
143 self,
144 config_override: crate::config::Builder,
145 ) -> crate::client::customize::internal::BoxFuture<
146 crate::client::customize::internal::SendResult<
147 crate::operation::update_file_system::UpdateFileSystemOutput,
148 crate::operation::update_file_system::UpdateFileSystemError,
149 >,
150 > {
151 ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
152 }
153}
154impl UpdateFileSystemFluentBuilder {
155 /// Creates a new `UpdateFileSystemFluentBuilder`.
156 pub(crate) fn new(handle: ::std::sync::Arc<crate::client::Handle>) -> Self {
157 Self {
158 handle,
159 inner: ::std::default::Default::default(),
160 config_override: ::std::option::Option::None,
161 }
162 }
163 /// Access the UpdateFileSystem as a reference.
164 pub fn as_input(&self) -> &crate::operation::update_file_system::builders::UpdateFileSystemInputBuilder {
165 &self.inner
166 }
167 /// Sends the request and returns the response.
168 ///
169 /// If an error occurs, an `SdkError` will be returned with additional details that
170 /// can be matched against.
171 ///
172 /// By default, any retryable failures will be retried twice. Retry behavior
173 /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
174 /// set when configuring the client.
175 pub async fn send(
176 self,
177 ) -> ::std::result::Result<
178 crate::operation::update_file_system::UpdateFileSystemOutput,
179 ::aws_smithy_runtime_api::client::result::SdkError<
180 crate::operation::update_file_system::UpdateFileSystemError,
181 ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
182 >,
183 > {
184 let input = self
185 .inner
186 .build()
187 .map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?;
188 let runtime_plugins = crate::operation::update_file_system::UpdateFileSystem::operation_runtime_plugins(
189 self.handle.runtime_plugins.clone(),
190 &self.handle.conf,
191 self.config_override,
192 );
193 crate::operation::update_file_system::UpdateFileSystem::orchestrate(&runtime_plugins, input).await
194 }
195
196 /// Consumes this builder, creating a customizable operation that can be modified before being sent.
197 pub fn customize(
198 self,
199 ) -> crate::client::customize::CustomizableOperation<
200 crate::operation::update_file_system::UpdateFileSystemOutput,
201 crate::operation::update_file_system::UpdateFileSystemError,
202 Self,
203 > {
204 crate::client::customize::CustomizableOperation::new(self)
205 }
206 pub(crate) fn config_override(mut self, config_override: impl ::std::convert::Into<crate::config::Builder>) -> Self {
207 self.set_config_override(::std::option::Option::Some(config_override.into()));
208 self
209 }
210
211 pub(crate) fn set_config_override(&mut self, config_override: ::std::option::Option<crate::config::Builder>) -> &mut Self {
212 self.config_override = config_override;
213 self
214 }
215 /// <p>The ID of the file system that you are updating.</p>
216 pub fn file_system_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
217 self.inner = self.inner.file_system_id(input.into());
218 self
219 }
220 /// <p>The ID of the file system that you are updating.</p>
221 pub fn set_file_system_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
222 self.inner = self.inner.set_file_system_id(input);
223 self
224 }
225 /// <p>The ID of the file system that you are updating.</p>
226 pub fn get_file_system_id(&self) -> &::std::option::Option<::std::string::String> {
227 self.inner.get_file_system_id()
228 }
229 /// <p>A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent updates. This string is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.</p>
230 pub fn client_request_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
231 self.inner = self.inner.client_request_token(input.into());
232 self
233 }
234 /// <p>A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent updates. This string is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.</p>
235 pub fn set_client_request_token(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
236 self.inner = self.inner.set_client_request_token(input);
237 self
238 }
239 /// <p>A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent updates. This string is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.</p>
240 pub fn get_client_request_token(&self) -> &::std::option::Option<::std::string::String> {
241 self.inner.get_client_request_token()
242 }
243 /// <p>Use this parameter to increase the storage capacity of an FSx for Windows File Server, FSx for Lustre, FSx for OpenZFS, or FSx for ONTAP file system. For second-generation FSx for ONTAP file systems, you can also decrease the storage capacity. Specifies the storage capacity target value, in GiB, for the file system that you're updating.</p><note>
244 /// <p>You can't make a storage capacity increase request if there is an existing storage capacity increase request in progress.</p>
245 /// </note>
246 /// <p>For Lustre file systems, the storage capacity target value can be the following:</p>
247 /// <ul>
248 /// <li>
249 /// <p>For <code>SCRATCH_2</code>, <code>PERSISTENT_1</code>, and <code>PERSISTENT_2 SSD</code> deployment types, valid values are in multiples of 2400 GiB. The value must be greater than the current storage capacity.</p></li>
250 /// <li>
251 /// <p>For <code>PERSISTENT HDD</code> file systems, valid values are multiples of 6000 GiB for 12-MBps throughput per TiB file systems and multiples of 1800 GiB for 40-MBps throughput per TiB file systems. The values must be greater than the current storage capacity.</p></li>
252 /// <li>
253 /// <p>For <code>SCRATCH_1</code> file systems, you can't increase the storage capacity.</p></li>
254 /// </ul>
255 /// <p>For more information, see <a href="https://docs.aws.amazon.com/fsx/latest/LustreGuide/managing-storage-capacity.html">Managing storage and throughput capacity</a> in the <i>FSx for Lustre User Guide</i>.</p>
256 /// <p>For FSx for OpenZFS file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. For more information, see <a href="https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/managing-storage-capacity.html">Managing storage capacity</a> in the <i>FSx for OpenZFS User Guide</i>.</p>
257 /// <p>For Windows file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. To increase storage capacity, the file system must have at least 16 MBps of throughput capacity. For more information, see <a href="https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-storage-capacity.html">Managing storage capacity</a> in the <i>Amazon FSxfor Windows File Server User Guide</i>.</p>
258 /// <p>For ONTAP file systems, when increasing storage capacity, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. When decreasing storage capacity on second-generation file systems, the target value must be at least 9 percent smaller than the current SSD storage capacity. For more information, see <a href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/storage-capacity-and-IOPS.html">File system storage capacity and IOPS</a> in the Amazon FSx for NetApp ONTAP User Guide.</p>
259 pub fn storage_capacity(mut self, input: i32) -> Self {
260 self.inner = self.inner.storage_capacity(input);
261 self
262 }
263 /// <p>Use this parameter to increase the storage capacity of an FSx for Windows File Server, FSx for Lustre, FSx for OpenZFS, or FSx for ONTAP file system. For second-generation FSx for ONTAP file systems, you can also decrease the storage capacity. Specifies the storage capacity target value, in GiB, for the file system that you're updating.</p><note>
264 /// <p>You can't make a storage capacity increase request if there is an existing storage capacity increase request in progress.</p>
265 /// </note>
266 /// <p>For Lustre file systems, the storage capacity target value can be the following:</p>
267 /// <ul>
268 /// <li>
269 /// <p>For <code>SCRATCH_2</code>, <code>PERSISTENT_1</code>, and <code>PERSISTENT_2 SSD</code> deployment types, valid values are in multiples of 2400 GiB. The value must be greater than the current storage capacity.</p></li>
270 /// <li>
271 /// <p>For <code>PERSISTENT HDD</code> file systems, valid values are multiples of 6000 GiB for 12-MBps throughput per TiB file systems and multiples of 1800 GiB for 40-MBps throughput per TiB file systems. The values must be greater than the current storage capacity.</p></li>
272 /// <li>
273 /// <p>For <code>SCRATCH_1</code> file systems, you can't increase the storage capacity.</p></li>
274 /// </ul>
275 /// <p>For more information, see <a href="https://docs.aws.amazon.com/fsx/latest/LustreGuide/managing-storage-capacity.html">Managing storage and throughput capacity</a> in the <i>FSx for Lustre User Guide</i>.</p>
276 /// <p>For FSx for OpenZFS file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. For more information, see <a href="https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/managing-storage-capacity.html">Managing storage capacity</a> in the <i>FSx for OpenZFS User Guide</i>.</p>
277 /// <p>For Windows file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. To increase storage capacity, the file system must have at least 16 MBps of throughput capacity. For more information, see <a href="https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-storage-capacity.html">Managing storage capacity</a> in the <i>Amazon FSxfor Windows File Server User Guide</i>.</p>
278 /// <p>For ONTAP file systems, when increasing storage capacity, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. When decreasing storage capacity on second-generation file systems, the target value must be at least 9 percent smaller than the current SSD storage capacity. For more information, see <a href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/storage-capacity-and-IOPS.html">File system storage capacity and IOPS</a> in the Amazon FSx for NetApp ONTAP User Guide.</p>
279 pub fn set_storage_capacity(mut self, input: ::std::option::Option<i32>) -> Self {
280 self.inner = self.inner.set_storage_capacity(input);
281 self
282 }
283 /// <p>Use this parameter to increase the storage capacity of an FSx for Windows File Server, FSx for Lustre, FSx for OpenZFS, or FSx for ONTAP file system. For second-generation FSx for ONTAP file systems, you can also decrease the storage capacity. Specifies the storage capacity target value, in GiB, for the file system that you're updating.</p><note>
284 /// <p>You can't make a storage capacity increase request if there is an existing storage capacity increase request in progress.</p>
285 /// </note>
286 /// <p>For Lustre file systems, the storage capacity target value can be the following:</p>
287 /// <ul>
288 /// <li>
289 /// <p>For <code>SCRATCH_2</code>, <code>PERSISTENT_1</code>, and <code>PERSISTENT_2 SSD</code> deployment types, valid values are in multiples of 2400 GiB. The value must be greater than the current storage capacity.</p></li>
290 /// <li>
291 /// <p>For <code>PERSISTENT HDD</code> file systems, valid values are multiples of 6000 GiB for 12-MBps throughput per TiB file systems and multiples of 1800 GiB for 40-MBps throughput per TiB file systems. The values must be greater than the current storage capacity.</p></li>
292 /// <li>
293 /// <p>For <code>SCRATCH_1</code> file systems, you can't increase the storage capacity.</p></li>
294 /// </ul>
295 /// <p>For more information, see <a href="https://docs.aws.amazon.com/fsx/latest/LustreGuide/managing-storage-capacity.html">Managing storage and throughput capacity</a> in the <i>FSx for Lustre User Guide</i>.</p>
296 /// <p>For FSx for OpenZFS file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. For more information, see <a href="https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/managing-storage-capacity.html">Managing storage capacity</a> in the <i>FSx for OpenZFS User Guide</i>.</p>
297 /// <p>For Windows file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. To increase storage capacity, the file system must have at least 16 MBps of throughput capacity. For more information, see <a href="https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-storage-capacity.html">Managing storage capacity</a> in the <i>Amazon FSxfor Windows File Server User Guide</i>.</p>
298 /// <p>For ONTAP file systems, when increasing storage capacity, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. When decreasing storage capacity on second-generation file systems, the target value must be at least 9 percent smaller than the current SSD storage capacity. For more information, see <a href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/storage-capacity-and-IOPS.html">File system storage capacity and IOPS</a> in the Amazon FSx for NetApp ONTAP User Guide.</p>
299 pub fn get_storage_capacity(&self) -> &::std::option::Option<i32> {
300 self.inner.get_storage_capacity()
301 }
302 /// <p>The configuration updates for an Amazon FSx for Windows File Server file system.</p>
303 pub fn windows_configuration(mut self, input: crate::types::UpdateFileSystemWindowsConfiguration) -> Self {
304 self.inner = self.inner.windows_configuration(input);
305 self
306 }
307 /// <p>The configuration updates for an Amazon FSx for Windows File Server file system.</p>
308 pub fn set_windows_configuration(mut self, input: ::std::option::Option<crate::types::UpdateFileSystemWindowsConfiguration>) -> Self {
309 self.inner = self.inner.set_windows_configuration(input);
310 self
311 }
312 /// <p>The configuration updates for an Amazon FSx for Windows File Server file system.</p>
313 pub fn get_windows_configuration(&self) -> &::std::option::Option<crate::types::UpdateFileSystemWindowsConfiguration> {
314 self.inner.get_windows_configuration()
315 }
316 /// <p>The configuration object for Amazon FSx for Lustre file systems used in the <code>UpdateFileSystem</code> operation.</p>
317 pub fn lustre_configuration(mut self, input: crate::types::UpdateFileSystemLustreConfiguration) -> Self {
318 self.inner = self.inner.lustre_configuration(input);
319 self
320 }
321 /// <p>The configuration object for Amazon FSx for Lustre file systems used in the <code>UpdateFileSystem</code> operation.</p>
322 pub fn set_lustre_configuration(mut self, input: ::std::option::Option<crate::types::UpdateFileSystemLustreConfiguration>) -> Self {
323 self.inner = self.inner.set_lustre_configuration(input);
324 self
325 }
326 /// <p>The configuration object for Amazon FSx for Lustre file systems used in the <code>UpdateFileSystem</code> operation.</p>
327 pub fn get_lustre_configuration(&self) -> &::std::option::Option<crate::types::UpdateFileSystemLustreConfiguration> {
328 self.inner.get_lustre_configuration()
329 }
330 /// <p>The configuration updates for an Amazon FSx for NetApp ONTAP file system.</p>
331 pub fn ontap_configuration(mut self, input: crate::types::UpdateFileSystemOntapConfiguration) -> Self {
332 self.inner = self.inner.ontap_configuration(input);
333 self
334 }
335 /// <p>The configuration updates for an Amazon FSx for NetApp ONTAP file system.</p>
336 pub fn set_ontap_configuration(mut self, input: ::std::option::Option<crate::types::UpdateFileSystemOntapConfiguration>) -> Self {
337 self.inner = self.inner.set_ontap_configuration(input);
338 self
339 }
340 /// <p>The configuration updates for an Amazon FSx for NetApp ONTAP file system.</p>
341 pub fn get_ontap_configuration(&self) -> &::std::option::Option<crate::types::UpdateFileSystemOntapConfiguration> {
342 self.inner.get_ontap_configuration()
343 }
344 /// <p>The configuration updates for an FSx for OpenZFS file system.</p>
345 pub fn open_zfs_configuration(mut self, input: crate::types::UpdateFileSystemOpenZfsConfiguration) -> Self {
346 self.inner = self.inner.open_zfs_configuration(input);
347 self
348 }
349 /// <p>The configuration updates for an FSx for OpenZFS file system.</p>
350 pub fn set_open_zfs_configuration(mut self, input: ::std::option::Option<crate::types::UpdateFileSystemOpenZfsConfiguration>) -> Self {
351 self.inner = self.inner.set_open_zfs_configuration(input);
352 self
353 }
354 /// <p>The configuration updates for an FSx for OpenZFS file system.</p>
355 pub fn get_open_zfs_configuration(&self) -> &::std::option::Option<crate::types::UpdateFileSystemOpenZfsConfiguration> {
356 self.inner.get_open_zfs_configuration()
357 }
358 /// <p>Specifies the file system's storage type.</p>
359 pub fn storage_type(mut self, input: crate::types::StorageType) -> Self {
360 self.inner = self.inner.storage_type(input);
361 self
362 }
363 /// <p>Specifies the file system's storage type.</p>
364 pub fn set_storage_type(mut self, input: ::std::option::Option<crate::types::StorageType>) -> Self {
365 self.inner = self.inner.set_storage_type(input);
366 self
367 }
368 /// <p>Specifies the file system's storage type.</p>
369 pub fn get_storage_type(&self) -> &::std::option::Option<crate::types::StorageType> {
370 self.inner.get_storage_type()
371 }
372 /// <p>The Lustre version you are updating an FSx for Lustre file system to. Valid values are <code>2.12</code> and <code>2.15</code>. The value you choose must be newer than the file system's current Lustre version.</p>
373 pub fn file_system_type_version(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
374 self.inner = self.inner.file_system_type_version(input.into());
375 self
376 }
377 /// <p>The Lustre version you are updating an FSx for Lustre file system to. Valid values are <code>2.12</code> and <code>2.15</code>. The value you choose must be newer than the file system's current Lustre version.</p>
378 pub fn set_file_system_type_version(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
379 self.inner = self.inner.set_file_system_type_version(input);
380 self
381 }
382 /// <p>The Lustre version you are updating an FSx for Lustre file system to. Valid values are <code>2.12</code> and <code>2.15</code>. The value you choose must be newer than the file system's current Lustre version.</p>
383 pub fn get_file_system_type_version(&self) -> &::std::option::Option<::std::string::String> {
384 self.inner.get_file_system_type_version()
385 }
386 /// <p>Changes the network type of an FSx for OpenZFS file system.</p>
387 pub fn network_type(mut self, input: crate::types::NetworkType) -> Self {
388 self.inner = self.inner.network_type(input);
389 self
390 }
391 /// <p>Changes the network type of an FSx for OpenZFS file system.</p>
392 pub fn set_network_type(mut self, input: ::std::option::Option<crate::types::NetworkType>) -> Self {
393 self.inner = self.inner.set_network_type(input);
394 self
395 }
396 /// <p>Changes the network type of an FSx for OpenZFS file system.</p>
397 pub fn get_network_type(&self) -> &::std::option::Option<crate::types::NetworkType> {
398 self.inner.get_network_type()
399 }
400}