aws_sdk_appstream/operation/create_fleet/
_create_fleet_input.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2#[allow(missing_docs)] // documentation missing in model
3#[non_exhaustive]
4#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
5pub struct CreateFleetInput {
6    /// <p>A unique name for the fleet.</p>
7    pub name: ::std::option::Option<::std::string::String>,
8    /// <p>The name of the image used to create the fleet.</p>
9    pub image_name: ::std::option::Option<::std::string::String>,
10    /// <p>The ARN of the public, private, or shared image to use.</p>
11    pub image_arn: ::std::option::Option<::std::string::String>,
12    /// <p>The instance type to use when launching fleet instances. The following instance types are available:</p>
13    /// <ul>
14    /// <li>
15    /// <p>stream.standard.small</p></li>
16    /// <li>
17    /// <p>stream.standard.medium</p></li>
18    /// <li>
19    /// <p>stream.standard.large</p></li>
20    /// <li>
21    /// <p>stream.standard.xlarge</p></li>
22    /// <li>
23    /// <p>stream.standard.2xlarge</p></li>
24    /// <li>
25    /// <p>stream.compute.large</p></li>
26    /// <li>
27    /// <p>stream.compute.xlarge</p></li>
28    /// <li>
29    /// <p>stream.compute.2xlarge</p></li>
30    /// <li>
31    /// <p>stream.compute.4xlarge</p></li>
32    /// <li>
33    /// <p>stream.compute.8xlarge</p></li>
34    /// <li>
35    /// <p>stream.memory.large</p></li>
36    /// <li>
37    /// <p>stream.memory.xlarge</p></li>
38    /// <li>
39    /// <p>stream.memory.2xlarge</p></li>
40    /// <li>
41    /// <p>stream.memory.4xlarge</p></li>
42    /// <li>
43    /// <p>stream.memory.8xlarge</p></li>
44    /// <li>
45    /// <p>stream.memory.z1d.large</p></li>
46    /// <li>
47    /// <p>stream.memory.z1d.xlarge</p></li>
48    /// <li>
49    /// <p>stream.memory.z1d.2xlarge</p></li>
50    /// <li>
51    /// <p>stream.memory.z1d.3xlarge</p></li>
52    /// <li>
53    /// <p>stream.memory.z1d.6xlarge</p></li>
54    /// <li>
55    /// <p>stream.memory.z1d.12xlarge</p></li>
56    /// <li>
57    /// <p>stream.graphics-design.large</p></li>
58    /// <li>
59    /// <p>stream.graphics-design.xlarge</p></li>
60    /// <li>
61    /// <p>stream.graphics-design.2xlarge</p></li>
62    /// <li>
63    /// <p>stream.graphics-design.4xlarge</p></li>
64    /// <li>
65    /// <p>stream.graphics.g4dn.xlarge</p></li>
66    /// <li>
67    /// <p>stream.graphics.g4dn.2xlarge</p></li>
68    /// <li>
69    /// <p>stream.graphics.g4dn.4xlarge</p></li>
70    /// <li>
71    /// <p>stream.graphics.g4dn.8xlarge</p></li>
72    /// <li>
73    /// <p>stream.graphics.g4dn.12xlarge</p></li>
74    /// <li>
75    /// <p>stream.graphics.g4dn.16xlarge</p></li>
76    /// <li>
77    /// <p>stream.graphics.g5.xlarge</p></li>
78    /// <li>
79    /// <p>stream.graphics.g5.2xlarge</p></li>
80    /// <li>
81    /// <p>stream.graphics.g5.4xlarge</p></li>
82    /// <li>
83    /// <p>stream.graphics.g5.8xlarge</p></li>
84    /// <li>
85    /// <p>stream.graphics.g5.12xlarge</p></li>
86    /// <li>
87    /// <p>stream.graphics.g5.16xlarge</p></li>
88    /// <li>
89    /// <p>stream.graphics.g5.24xlarge</p></li>
90    /// <li>
91    /// <p>stream.graphics.g6.xlarge</p></li>
92    /// <li>
93    /// <p>stream.graphics.g6.2xlarge</p></li>
94    /// <li>
95    /// <p>stream.graphics.g6.4xlarge</p></li>
96    /// <li>
97    /// <p>stream.graphics.g6.8xlarge</p></li>
98    /// <li>
99    /// <p>stream.graphics.g6.16xlarge</p></li>
100    /// <li>
101    /// <p>stream.graphics.g6.12xlarge</p></li>
102    /// <li>
103    /// <p>stream.graphics.g6.24xlarge</p></li>
104    /// <li>
105    /// <p>stream.graphics.gr6.4xlarge</p></li>
106    /// <li>
107    /// <p>stream.graphics.gr6.8xlarge</p></li>
108    /// <li>
109    /// <p>stream.graphics.g6f.large</p></li>
110    /// <li>
111    /// <p>stream.graphics.g6f.xlarge</p></li>
112    /// <li>
113    /// <p>stream.graphics.g6f.2xlarge</p></li>
114    /// <li>
115    /// <p>stream.graphics.g6f.4xlarge</p></li>
116    /// <li>
117    /// <p>stream.graphics.gr6f.4xlarge</p></li>
118    /// </ul>
119    /// <p>The following instance types are available for Elastic fleets:</p>
120    /// <ul>
121    /// <li>
122    /// <p>stream.standard.small</p></li>
123    /// <li>
124    /// <p>stream.standard.medium</p></li>
125    /// <li>
126    /// <p>stream.standard.large</p></li>
127    /// <li>
128    /// <p>stream.standard.xlarge</p></li>
129    /// <li>
130    /// <p>stream.standard.2xlarge</p></li>
131    /// </ul>
132    pub instance_type: ::std::option::Option<::std::string::String>,
133    /// <p>The fleet type.</p>
134    /// <dl>
135    /// <dt>
136    /// ALWAYS_ON
137    /// </dt>
138    /// <dd>
139    /// <p>Provides users with instant-on access to their apps. You are charged for all running instances in your fleet, even if no users are streaming apps.</p>
140    /// </dd>
141    /// <dt>
142    /// ON_DEMAND
143    /// </dt>
144    /// <dd>
145    /// <p>Provide users with access to applications after they connect, which takes one to two minutes. You are charged for instance streaming when users are connected and a small hourly fee for instances that are not streaming apps.</p>
146    /// </dd>
147    /// </dl>
148    pub fleet_type: ::std::option::Option<crate::types::FleetType>,
149    /// <p>The desired capacity for the fleet. This is not allowed for Elastic fleets. For Elastic fleets, specify MaxConcurrentSessions instead.</p>
150    pub compute_capacity: ::std::option::Option<crate::types::ComputeCapacity>,
151    /// <p>The VPC configuration for the fleet. This is required for Elastic fleets, but not required for other fleet types. Elastic fleets require that you specify at least two subnets in different availability zones.</p>
152    pub vpc_config: ::std::option::Option<crate::types::VpcConfig>,
153    /// <p>The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.</p>
154    /// <p>Specify a value between 600 and 432000.</p>
155    pub max_user_duration_in_seconds: ::std::option::Option<i32>,
156    /// <p>The amount of time that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.</p>
157    /// <p>Specify a value between 60 and 36000.</p>
158    pub disconnect_timeout_in_seconds: ::std::option::Option<i32>,
159    /// <p>The description to display.</p>
160    pub description: ::std::option::Option<::std::string::String>,
161    /// <p>The fleet name to display.</p>
162    pub display_name: ::std::option::Option<::std::string::String>,
163    /// <p>Enables or disables default internet access for the fleet.</p>
164    pub enable_default_internet_access: ::std::option::Option<bool>,
165    /// <p>The name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain. This is not allowed for Elastic fleets.</p>
166    pub domain_join_info: ::std::option::Option<crate::types::DomainJoinInfo>,
167    /// <p>The tags to associate with the fleet. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.</p>
168    /// <p>If you do not specify a value, the value is set to an empty string.</p>
169    /// <p>Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:</p>
170    /// <p>_ . : / = + \ - @</p>
171    /// <p>For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging Your Resources</a> in the <i>Amazon WorkSpaces Applications Administration Guide</i>.</p>
172    pub tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
173    /// <p>The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the <code>DisconnectTimeoutInSeconds</code> time interval begins. Users are notified before they are disconnected due to inactivity. If they try to reconnect to the streaming session before the time interval specified in <code>DisconnectTimeoutInSeconds</code> elapses, they are connected to their previous session. Users are considered idle when they stop providing keyboard or mouse input during their streaming session. File uploads and downloads, audio in, audio out, and pixels changing do not qualify as user activity. If users continue to be idle after the time interval in <code>IdleDisconnectTimeoutInSeconds</code> elapses, they are disconnected.</p>
174    /// <p>To prevent users from being disconnected due to inactivity, specify a value of 0. Otherwise, specify a value between 60 and 36000. The default value is 0.</p><note>
175    /// <p>If you enable this feature, we recommend that you specify a value that corresponds exactly to a whole number of minutes (for example, 60, 120, and 180). If you don't do this, the value is rounded to the nearest minute. For example, if you specify a value of 70, users are disconnected after 1 minute of inactivity. If you specify a value that is at the midpoint between two different minutes, the value is rounded up. For example, if you specify a value of 90, users are disconnected after 2 minutes of inactivity.</p>
176    /// </note>
177    pub idle_disconnect_timeout_in_seconds: ::std::option::Option<i32>,
178    /// <p>The Amazon Resource Name (ARN) of the IAM role to apply to the fleet. To assume a role, a fleet instance calls the AWS Security Token Service (STS) <code>AssumeRole</code> API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. WorkSpaces Applications retrieves the temporary credentials and creates the <b>appstream_machine_role</b> credential profile on the instance.</p>
179    /// <p>For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html">Using an IAM Role to Grant Permissions to Applications and Scripts Running on WorkSpaces Applications Streaming Instances</a> in the <i>Amazon WorkSpaces Applications Administration Guide</i>.</p>
180    pub iam_role_arn: ::std::option::Option<::std::string::String>,
181    /// <p>The WorkSpaces Applications view that is displayed to your users when they stream from the fleet. When <code>APP</code> is specified, only the windows of applications opened by users display. When <code>DESKTOP</code> is specified, the standard desktop that is provided by the operating system displays.</p>
182    /// <p>The default value is <code>APP</code>.</p>
183    pub stream_view: ::std::option::Option<crate::types::StreamView>,
184    /// <p>The fleet platform. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.</p>
185    pub platform: ::std::option::Option<crate::types::PlatformType>,
186    /// <p>The maximum concurrent sessions of the Elastic fleet. This is required for Elastic fleets, and not allowed for other fleet types.</p>
187    pub max_concurrent_sessions: ::std::option::Option<i32>,
188    /// <p>The USB device filter strings that specify which USB devices a user can redirect to the fleet streaming session, when using the Windows native client. This is allowed but not required for Elastic fleets.</p>
189    pub usb_device_filter_strings: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
190    /// <p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.</p>
191    pub session_script_s3_location: ::std::option::Option<crate::types::S3Location>,
192    /// <p>The maximum number of user sessions on an instance. This only applies to multi-session fleets.</p>
193    pub max_sessions_per_instance: ::std::option::Option<i32>,
194    /// <p>The configuration for the root volume of fleet instances. Use this to customize storage capacity from 200 GB up to 500 GB based on your application requirements.</p>
195    pub root_volume_config: ::std::option::Option<crate::types::VolumeConfig>,
196}
197impl CreateFleetInput {
198    /// <p>A unique name for the fleet.</p>
199    pub fn name(&self) -> ::std::option::Option<&str> {
200        self.name.as_deref()
201    }
202    /// <p>The name of the image used to create the fleet.</p>
203    pub fn image_name(&self) -> ::std::option::Option<&str> {
204        self.image_name.as_deref()
205    }
206    /// <p>The ARN of the public, private, or shared image to use.</p>
207    pub fn image_arn(&self) -> ::std::option::Option<&str> {
208        self.image_arn.as_deref()
209    }
210    /// <p>The instance type to use when launching fleet instances. The following instance types are available:</p>
211    /// <ul>
212    /// <li>
213    /// <p>stream.standard.small</p></li>
214    /// <li>
215    /// <p>stream.standard.medium</p></li>
216    /// <li>
217    /// <p>stream.standard.large</p></li>
218    /// <li>
219    /// <p>stream.standard.xlarge</p></li>
220    /// <li>
221    /// <p>stream.standard.2xlarge</p></li>
222    /// <li>
223    /// <p>stream.compute.large</p></li>
224    /// <li>
225    /// <p>stream.compute.xlarge</p></li>
226    /// <li>
227    /// <p>stream.compute.2xlarge</p></li>
228    /// <li>
229    /// <p>stream.compute.4xlarge</p></li>
230    /// <li>
231    /// <p>stream.compute.8xlarge</p></li>
232    /// <li>
233    /// <p>stream.memory.large</p></li>
234    /// <li>
235    /// <p>stream.memory.xlarge</p></li>
236    /// <li>
237    /// <p>stream.memory.2xlarge</p></li>
238    /// <li>
239    /// <p>stream.memory.4xlarge</p></li>
240    /// <li>
241    /// <p>stream.memory.8xlarge</p></li>
242    /// <li>
243    /// <p>stream.memory.z1d.large</p></li>
244    /// <li>
245    /// <p>stream.memory.z1d.xlarge</p></li>
246    /// <li>
247    /// <p>stream.memory.z1d.2xlarge</p></li>
248    /// <li>
249    /// <p>stream.memory.z1d.3xlarge</p></li>
250    /// <li>
251    /// <p>stream.memory.z1d.6xlarge</p></li>
252    /// <li>
253    /// <p>stream.memory.z1d.12xlarge</p></li>
254    /// <li>
255    /// <p>stream.graphics-design.large</p></li>
256    /// <li>
257    /// <p>stream.graphics-design.xlarge</p></li>
258    /// <li>
259    /// <p>stream.graphics-design.2xlarge</p></li>
260    /// <li>
261    /// <p>stream.graphics-design.4xlarge</p></li>
262    /// <li>
263    /// <p>stream.graphics.g4dn.xlarge</p></li>
264    /// <li>
265    /// <p>stream.graphics.g4dn.2xlarge</p></li>
266    /// <li>
267    /// <p>stream.graphics.g4dn.4xlarge</p></li>
268    /// <li>
269    /// <p>stream.graphics.g4dn.8xlarge</p></li>
270    /// <li>
271    /// <p>stream.graphics.g4dn.12xlarge</p></li>
272    /// <li>
273    /// <p>stream.graphics.g4dn.16xlarge</p></li>
274    /// <li>
275    /// <p>stream.graphics.g5.xlarge</p></li>
276    /// <li>
277    /// <p>stream.graphics.g5.2xlarge</p></li>
278    /// <li>
279    /// <p>stream.graphics.g5.4xlarge</p></li>
280    /// <li>
281    /// <p>stream.graphics.g5.8xlarge</p></li>
282    /// <li>
283    /// <p>stream.graphics.g5.12xlarge</p></li>
284    /// <li>
285    /// <p>stream.graphics.g5.16xlarge</p></li>
286    /// <li>
287    /// <p>stream.graphics.g5.24xlarge</p></li>
288    /// <li>
289    /// <p>stream.graphics.g6.xlarge</p></li>
290    /// <li>
291    /// <p>stream.graphics.g6.2xlarge</p></li>
292    /// <li>
293    /// <p>stream.graphics.g6.4xlarge</p></li>
294    /// <li>
295    /// <p>stream.graphics.g6.8xlarge</p></li>
296    /// <li>
297    /// <p>stream.graphics.g6.16xlarge</p></li>
298    /// <li>
299    /// <p>stream.graphics.g6.12xlarge</p></li>
300    /// <li>
301    /// <p>stream.graphics.g6.24xlarge</p></li>
302    /// <li>
303    /// <p>stream.graphics.gr6.4xlarge</p></li>
304    /// <li>
305    /// <p>stream.graphics.gr6.8xlarge</p></li>
306    /// <li>
307    /// <p>stream.graphics.g6f.large</p></li>
308    /// <li>
309    /// <p>stream.graphics.g6f.xlarge</p></li>
310    /// <li>
311    /// <p>stream.graphics.g6f.2xlarge</p></li>
312    /// <li>
313    /// <p>stream.graphics.g6f.4xlarge</p></li>
314    /// <li>
315    /// <p>stream.graphics.gr6f.4xlarge</p></li>
316    /// </ul>
317    /// <p>The following instance types are available for Elastic fleets:</p>
318    /// <ul>
319    /// <li>
320    /// <p>stream.standard.small</p></li>
321    /// <li>
322    /// <p>stream.standard.medium</p></li>
323    /// <li>
324    /// <p>stream.standard.large</p></li>
325    /// <li>
326    /// <p>stream.standard.xlarge</p></li>
327    /// <li>
328    /// <p>stream.standard.2xlarge</p></li>
329    /// </ul>
330    pub fn instance_type(&self) -> ::std::option::Option<&str> {
331        self.instance_type.as_deref()
332    }
333    /// <p>The fleet type.</p>
334    /// <dl>
335    /// <dt>
336    /// ALWAYS_ON
337    /// </dt>
338    /// <dd>
339    /// <p>Provides users with instant-on access to their apps. You are charged for all running instances in your fleet, even if no users are streaming apps.</p>
340    /// </dd>
341    /// <dt>
342    /// ON_DEMAND
343    /// </dt>
344    /// <dd>
345    /// <p>Provide users with access to applications after they connect, which takes one to two minutes. You are charged for instance streaming when users are connected and a small hourly fee for instances that are not streaming apps.</p>
346    /// </dd>
347    /// </dl>
348    pub fn fleet_type(&self) -> ::std::option::Option<&crate::types::FleetType> {
349        self.fleet_type.as_ref()
350    }
351    /// <p>The desired capacity for the fleet. This is not allowed for Elastic fleets. For Elastic fleets, specify MaxConcurrentSessions instead.</p>
352    pub fn compute_capacity(&self) -> ::std::option::Option<&crate::types::ComputeCapacity> {
353        self.compute_capacity.as_ref()
354    }
355    /// <p>The VPC configuration for the fleet. This is required for Elastic fleets, but not required for other fleet types. Elastic fleets require that you specify at least two subnets in different availability zones.</p>
356    pub fn vpc_config(&self) -> ::std::option::Option<&crate::types::VpcConfig> {
357        self.vpc_config.as_ref()
358    }
359    /// <p>The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.</p>
360    /// <p>Specify a value between 600 and 432000.</p>
361    pub fn max_user_duration_in_seconds(&self) -> ::std::option::Option<i32> {
362        self.max_user_duration_in_seconds
363    }
364    /// <p>The amount of time that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.</p>
365    /// <p>Specify a value between 60 and 36000.</p>
366    pub fn disconnect_timeout_in_seconds(&self) -> ::std::option::Option<i32> {
367        self.disconnect_timeout_in_seconds
368    }
369    /// <p>The description to display.</p>
370    pub fn description(&self) -> ::std::option::Option<&str> {
371        self.description.as_deref()
372    }
373    /// <p>The fleet name to display.</p>
374    pub fn display_name(&self) -> ::std::option::Option<&str> {
375        self.display_name.as_deref()
376    }
377    /// <p>Enables or disables default internet access for the fleet.</p>
378    pub fn enable_default_internet_access(&self) -> ::std::option::Option<bool> {
379        self.enable_default_internet_access
380    }
381    /// <p>The name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain. This is not allowed for Elastic fleets.</p>
382    pub fn domain_join_info(&self) -> ::std::option::Option<&crate::types::DomainJoinInfo> {
383        self.domain_join_info.as_ref()
384    }
385    /// <p>The tags to associate with the fleet. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.</p>
386    /// <p>If you do not specify a value, the value is set to an empty string.</p>
387    /// <p>Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:</p>
388    /// <p>_ . : / = + \ - @</p>
389    /// <p>For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging Your Resources</a> in the <i>Amazon WorkSpaces Applications Administration Guide</i>.</p>
390    pub fn tags(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
391        self.tags.as_ref()
392    }
393    /// <p>The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the <code>DisconnectTimeoutInSeconds</code> time interval begins. Users are notified before they are disconnected due to inactivity. If they try to reconnect to the streaming session before the time interval specified in <code>DisconnectTimeoutInSeconds</code> elapses, they are connected to their previous session. Users are considered idle when they stop providing keyboard or mouse input during their streaming session. File uploads and downloads, audio in, audio out, and pixels changing do not qualify as user activity. If users continue to be idle after the time interval in <code>IdleDisconnectTimeoutInSeconds</code> elapses, they are disconnected.</p>
394    /// <p>To prevent users from being disconnected due to inactivity, specify a value of 0. Otherwise, specify a value between 60 and 36000. The default value is 0.</p><note>
395    /// <p>If you enable this feature, we recommend that you specify a value that corresponds exactly to a whole number of minutes (for example, 60, 120, and 180). If you don't do this, the value is rounded to the nearest minute. For example, if you specify a value of 70, users are disconnected after 1 minute of inactivity. If you specify a value that is at the midpoint between two different minutes, the value is rounded up. For example, if you specify a value of 90, users are disconnected after 2 minutes of inactivity.</p>
396    /// </note>
397    pub fn idle_disconnect_timeout_in_seconds(&self) -> ::std::option::Option<i32> {
398        self.idle_disconnect_timeout_in_seconds
399    }
400    /// <p>The Amazon Resource Name (ARN) of the IAM role to apply to the fleet. To assume a role, a fleet instance calls the AWS Security Token Service (STS) <code>AssumeRole</code> API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. WorkSpaces Applications retrieves the temporary credentials and creates the <b>appstream_machine_role</b> credential profile on the instance.</p>
401    /// <p>For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html">Using an IAM Role to Grant Permissions to Applications and Scripts Running on WorkSpaces Applications Streaming Instances</a> in the <i>Amazon WorkSpaces Applications Administration Guide</i>.</p>
402    pub fn iam_role_arn(&self) -> ::std::option::Option<&str> {
403        self.iam_role_arn.as_deref()
404    }
405    /// <p>The WorkSpaces Applications view that is displayed to your users when they stream from the fleet. When <code>APP</code> is specified, only the windows of applications opened by users display. When <code>DESKTOP</code> is specified, the standard desktop that is provided by the operating system displays.</p>
406    /// <p>The default value is <code>APP</code>.</p>
407    pub fn stream_view(&self) -> ::std::option::Option<&crate::types::StreamView> {
408        self.stream_view.as_ref()
409    }
410    /// <p>The fleet platform. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.</p>
411    pub fn platform(&self) -> ::std::option::Option<&crate::types::PlatformType> {
412        self.platform.as_ref()
413    }
414    /// <p>The maximum concurrent sessions of the Elastic fleet. This is required for Elastic fleets, and not allowed for other fleet types.</p>
415    pub fn max_concurrent_sessions(&self) -> ::std::option::Option<i32> {
416        self.max_concurrent_sessions
417    }
418    /// <p>The USB device filter strings that specify which USB devices a user can redirect to the fleet streaming session, when using the Windows native client. This is allowed but not required for Elastic fleets.</p>
419    ///
420    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.usb_device_filter_strings.is_none()`.
421    pub fn usb_device_filter_strings(&self) -> &[::std::string::String] {
422        self.usb_device_filter_strings.as_deref().unwrap_or_default()
423    }
424    /// <p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.</p>
425    pub fn session_script_s3_location(&self) -> ::std::option::Option<&crate::types::S3Location> {
426        self.session_script_s3_location.as_ref()
427    }
428    /// <p>The maximum number of user sessions on an instance. This only applies to multi-session fleets.</p>
429    pub fn max_sessions_per_instance(&self) -> ::std::option::Option<i32> {
430        self.max_sessions_per_instance
431    }
432    /// <p>The configuration for the root volume of fleet instances. Use this to customize storage capacity from 200 GB up to 500 GB based on your application requirements.</p>
433    pub fn root_volume_config(&self) -> ::std::option::Option<&crate::types::VolumeConfig> {
434        self.root_volume_config.as_ref()
435    }
436}
437impl CreateFleetInput {
438    /// Creates a new builder-style object to manufacture [`CreateFleetInput`](crate::operation::create_fleet::CreateFleetInput).
439    pub fn builder() -> crate::operation::create_fleet::builders::CreateFleetInputBuilder {
440        crate::operation::create_fleet::builders::CreateFleetInputBuilder::default()
441    }
442}
443
444/// A builder for [`CreateFleetInput`](crate::operation::create_fleet::CreateFleetInput).
445#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
446#[non_exhaustive]
447pub struct CreateFleetInputBuilder {
448    pub(crate) name: ::std::option::Option<::std::string::String>,
449    pub(crate) image_name: ::std::option::Option<::std::string::String>,
450    pub(crate) image_arn: ::std::option::Option<::std::string::String>,
451    pub(crate) instance_type: ::std::option::Option<::std::string::String>,
452    pub(crate) fleet_type: ::std::option::Option<crate::types::FleetType>,
453    pub(crate) compute_capacity: ::std::option::Option<crate::types::ComputeCapacity>,
454    pub(crate) vpc_config: ::std::option::Option<crate::types::VpcConfig>,
455    pub(crate) max_user_duration_in_seconds: ::std::option::Option<i32>,
456    pub(crate) disconnect_timeout_in_seconds: ::std::option::Option<i32>,
457    pub(crate) description: ::std::option::Option<::std::string::String>,
458    pub(crate) display_name: ::std::option::Option<::std::string::String>,
459    pub(crate) enable_default_internet_access: ::std::option::Option<bool>,
460    pub(crate) domain_join_info: ::std::option::Option<crate::types::DomainJoinInfo>,
461    pub(crate) tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
462    pub(crate) idle_disconnect_timeout_in_seconds: ::std::option::Option<i32>,
463    pub(crate) iam_role_arn: ::std::option::Option<::std::string::String>,
464    pub(crate) stream_view: ::std::option::Option<crate::types::StreamView>,
465    pub(crate) platform: ::std::option::Option<crate::types::PlatformType>,
466    pub(crate) max_concurrent_sessions: ::std::option::Option<i32>,
467    pub(crate) usb_device_filter_strings: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
468    pub(crate) session_script_s3_location: ::std::option::Option<crate::types::S3Location>,
469    pub(crate) max_sessions_per_instance: ::std::option::Option<i32>,
470    pub(crate) root_volume_config: ::std::option::Option<crate::types::VolumeConfig>,
471}
472impl CreateFleetInputBuilder {
473    /// <p>A unique name for the fleet.</p>
474    /// This field is required.
475    pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
476        self.name = ::std::option::Option::Some(input.into());
477        self
478    }
479    /// <p>A unique name for the fleet.</p>
480    pub fn set_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
481        self.name = input;
482        self
483    }
484    /// <p>A unique name for the fleet.</p>
485    pub fn get_name(&self) -> &::std::option::Option<::std::string::String> {
486        &self.name
487    }
488    /// <p>The name of the image used to create the fleet.</p>
489    pub fn image_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
490        self.image_name = ::std::option::Option::Some(input.into());
491        self
492    }
493    /// <p>The name of the image used to create the fleet.</p>
494    pub fn set_image_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
495        self.image_name = input;
496        self
497    }
498    /// <p>The name of the image used to create the fleet.</p>
499    pub fn get_image_name(&self) -> &::std::option::Option<::std::string::String> {
500        &self.image_name
501    }
502    /// <p>The ARN of the public, private, or shared image to use.</p>
503    pub fn image_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
504        self.image_arn = ::std::option::Option::Some(input.into());
505        self
506    }
507    /// <p>The ARN of the public, private, or shared image to use.</p>
508    pub fn set_image_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
509        self.image_arn = input;
510        self
511    }
512    /// <p>The ARN of the public, private, or shared image to use.</p>
513    pub fn get_image_arn(&self) -> &::std::option::Option<::std::string::String> {
514        &self.image_arn
515    }
516    /// <p>The instance type to use when launching fleet instances. The following instance types are available:</p>
517    /// <ul>
518    /// <li>
519    /// <p>stream.standard.small</p></li>
520    /// <li>
521    /// <p>stream.standard.medium</p></li>
522    /// <li>
523    /// <p>stream.standard.large</p></li>
524    /// <li>
525    /// <p>stream.standard.xlarge</p></li>
526    /// <li>
527    /// <p>stream.standard.2xlarge</p></li>
528    /// <li>
529    /// <p>stream.compute.large</p></li>
530    /// <li>
531    /// <p>stream.compute.xlarge</p></li>
532    /// <li>
533    /// <p>stream.compute.2xlarge</p></li>
534    /// <li>
535    /// <p>stream.compute.4xlarge</p></li>
536    /// <li>
537    /// <p>stream.compute.8xlarge</p></li>
538    /// <li>
539    /// <p>stream.memory.large</p></li>
540    /// <li>
541    /// <p>stream.memory.xlarge</p></li>
542    /// <li>
543    /// <p>stream.memory.2xlarge</p></li>
544    /// <li>
545    /// <p>stream.memory.4xlarge</p></li>
546    /// <li>
547    /// <p>stream.memory.8xlarge</p></li>
548    /// <li>
549    /// <p>stream.memory.z1d.large</p></li>
550    /// <li>
551    /// <p>stream.memory.z1d.xlarge</p></li>
552    /// <li>
553    /// <p>stream.memory.z1d.2xlarge</p></li>
554    /// <li>
555    /// <p>stream.memory.z1d.3xlarge</p></li>
556    /// <li>
557    /// <p>stream.memory.z1d.6xlarge</p></li>
558    /// <li>
559    /// <p>stream.memory.z1d.12xlarge</p></li>
560    /// <li>
561    /// <p>stream.graphics-design.large</p></li>
562    /// <li>
563    /// <p>stream.graphics-design.xlarge</p></li>
564    /// <li>
565    /// <p>stream.graphics-design.2xlarge</p></li>
566    /// <li>
567    /// <p>stream.graphics-design.4xlarge</p></li>
568    /// <li>
569    /// <p>stream.graphics.g4dn.xlarge</p></li>
570    /// <li>
571    /// <p>stream.graphics.g4dn.2xlarge</p></li>
572    /// <li>
573    /// <p>stream.graphics.g4dn.4xlarge</p></li>
574    /// <li>
575    /// <p>stream.graphics.g4dn.8xlarge</p></li>
576    /// <li>
577    /// <p>stream.graphics.g4dn.12xlarge</p></li>
578    /// <li>
579    /// <p>stream.graphics.g4dn.16xlarge</p></li>
580    /// <li>
581    /// <p>stream.graphics.g5.xlarge</p></li>
582    /// <li>
583    /// <p>stream.graphics.g5.2xlarge</p></li>
584    /// <li>
585    /// <p>stream.graphics.g5.4xlarge</p></li>
586    /// <li>
587    /// <p>stream.graphics.g5.8xlarge</p></li>
588    /// <li>
589    /// <p>stream.graphics.g5.12xlarge</p></li>
590    /// <li>
591    /// <p>stream.graphics.g5.16xlarge</p></li>
592    /// <li>
593    /// <p>stream.graphics.g5.24xlarge</p></li>
594    /// <li>
595    /// <p>stream.graphics.g6.xlarge</p></li>
596    /// <li>
597    /// <p>stream.graphics.g6.2xlarge</p></li>
598    /// <li>
599    /// <p>stream.graphics.g6.4xlarge</p></li>
600    /// <li>
601    /// <p>stream.graphics.g6.8xlarge</p></li>
602    /// <li>
603    /// <p>stream.graphics.g6.16xlarge</p></li>
604    /// <li>
605    /// <p>stream.graphics.g6.12xlarge</p></li>
606    /// <li>
607    /// <p>stream.graphics.g6.24xlarge</p></li>
608    /// <li>
609    /// <p>stream.graphics.gr6.4xlarge</p></li>
610    /// <li>
611    /// <p>stream.graphics.gr6.8xlarge</p></li>
612    /// <li>
613    /// <p>stream.graphics.g6f.large</p></li>
614    /// <li>
615    /// <p>stream.graphics.g6f.xlarge</p></li>
616    /// <li>
617    /// <p>stream.graphics.g6f.2xlarge</p></li>
618    /// <li>
619    /// <p>stream.graphics.g6f.4xlarge</p></li>
620    /// <li>
621    /// <p>stream.graphics.gr6f.4xlarge</p></li>
622    /// </ul>
623    /// <p>The following instance types are available for Elastic fleets:</p>
624    /// <ul>
625    /// <li>
626    /// <p>stream.standard.small</p></li>
627    /// <li>
628    /// <p>stream.standard.medium</p></li>
629    /// <li>
630    /// <p>stream.standard.large</p></li>
631    /// <li>
632    /// <p>stream.standard.xlarge</p></li>
633    /// <li>
634    /// <p>stream.standard.2xlarge</p></li>
635    /// </ul>
636    /// This field is required.
637    pub fn instance_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
638        self.instance_type = ::std::option::Option::Some(input.into());
639        self
640    }
641    /// <p>The instance type to use when launching fleet instances. The following instance types are available:</p>
642    /// <ul>
643    /// <li>
644    /// <p>stream.standard.small</p></li>
645    /// <li>
646    /// <p>stream.standard.medium</p></li>
647    /// <li>
648    /// <p>stream.standard.large</p></li>
649    /// <li>
650    /// <p>stream.standard.xlarge</p></li>
651    /// <li>
652    /// <p>stream.standard.2xlarge</p></li>
653    /// <li>
654    /// <p>stream.compute.large</p></li>
655    /// <li>
656    /// <p>stream.compute.xlarge</p></li>
657    /// <li>
658    /// <p>stream.compute.2xlarge</p></li>
659    /// <li>
660    /// <p>stream.compute.4xlarge</p></li>
661    /// <li>
662    /// <p>stream.compute.8xlarge</p></li>
663    /// <li>
664    /// <p>stream.memory.large</p></li>
665    /// <li>
666    /// <p>stream.memory.xlarge</p></li>
667    /// <li>
668    /// <p>stream.memory.2xlarge</p></li>
669    /// <li>
670    /// <p>stream.memory.4xlarge</p></li>
671    /// <li>
672    /// <p>stream.memory.8xlarge</p></li>
673    /// <li>
674    /// <p>stream.memory.z1d.large</p></li>
675    /// <li>
676    /// <p>stream.memory.z1d.xlarge</p></li>
677    /// <li>
678    /// <p>stream.memory.z1d.2xlarge</p></li>
679    /// <li>
680    /// <p>stream.memory.z1d.3xlarge</p></li>
681    /// <li>
682    /// <p>stream.memory.z1d.6xlarge</p></li>
683    /// <li>
684    /// <p>stream.memory.z1d.12xlarge</p></li>
685    /// <li>
686    /// <p>stream.graphics-design.large</p></li>
687    /// <li>
688    /// <p>stream.graphics-design.xlarge</p></li>
689    /// <li>
690    /// <p>stream.graphics-design.2xlarge</p></li>
691    /// <li>
692    /// <p>stream.graphics-design.4xlarge</p></li>
693    /// <li>
694    /// <p>stream.graphics.g4dn.xlarge</p></li>
695    /// <li>
696    /// <p>stream.graphics.g4dn.2xlarge</p></li>
697    /// <li>
698    /// <p>stream.graphics.g4dn.4xlarge</p></li>
699    /// <li>
700    /// <p>stream.graphics.g4dn.8xlarge</p></li>
701    /// <li>
702    /// <p>stream.graphics.g4dn.12xlarge</p></li>
703    /// <li>
704    /// <p>stream.graphics.g4dn.16xlarge</p></li>
705    /// <li>
706    /// <p>stream.graphics.g5.xlarge</p></li>
707    /// <li>
708    /// <p>stream.graphics.g5.2xlarge</p></li>
709    /// <li>
710    /// <p>stream.graphics.g5.4xlarge</p></li>
711    /// <li>
712    /// <p>stream.graphics.g5.8xlarge</p></li>
713    /// <li>
714    /// <p>stream.graphics.g5.12xlarge</p></li>
715    /// <li>
716    /// <p>stream.graphics.g5.16xlarge</p></li>
717    /// <li>
718    /// <p>stream.graphics.g5.24xlarge</p></li>
719    /// <li>
720    /// <p>stream.graphics.g6.xlarge</p></li>
721    /// <li>
722    /// <p>stream.graphics.g6.2xlarge</p></li>
723    /// <li>
724    /// <p>stream.graphics.g6.4xlarge</p></li>
725    /// <li>
726    /// <p>stream.graphics.g6.8xlarge</p></li>
727    /// <li>
728    /// <p>stream.graphics.g6.16xlarge</p></li>
729    /// <li>
730    /// <p>stream.graphics.g6.12xlarge</p></li>
731    /// <li>
732    /// <p>stream.graphics.g6.24xlarge</p></li>
733    /// <li>
734    /// <p>stream.graphics.gr6.4xlarge</p></li>
735    /// <li>
736    /// <p>stream.graphics.gr6.8xlarge</p></li>
737    /// <li>
738    /// <p>stream.graphics.g6f.large</p></li>
739    /// <li>
740    /// <p>stream.graphics.g6f.xlarge</p></li>
741    /// <li>
742    /// <p>stream.graphics.g6f.2xlarge</p></li>
743    /// <li>
744    /// <p>stream.graphics.g6f.4xlarge</p></li>
745    /// <li>
746    /// <p>stream.graphics.gr6f.4xlarge</p></li>
747    /// </ul>
748    /// <p>The following instance types are available for Elastic fleets:</p>
749    /// <ul>
750    /// <li>
751    /// <p>stream.standard.small</p></li>
752    /// <li>
753    /// <p>stream.standard.medium</p></li>
754    /// <li>
755    /// <p>stream.standard.large</p></li>
756    /// <li>
757    /// <p>stream.standard.xlarge</p></li>
758    /// <li>
759    /// <p>stream.standard.2xlarge</p></li>
760    /// </ul>
761    pub fn set_instance_type(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
762        self.instance_type = input;
763        self
764    }
765    /// <p>The instance type to use when launching fleet instances. The following instance types are available:</p>
766    /// <ul>
767    /// <li>
768    /// <p>stream.standard.small</p></li>
769    /// <li>
770    /// <p>stream.standard.medium</p></li>
771    /// <li>
772    /// <p>stream.standard.large</p></li>
773    /// <li>
774    /// <p>stream.standard.xlarge</p></li>
775    /// <li>
776    /// <p>stream.standard.2xlarge</p></li>
777    /// <li>
778    /// <p>stream.compute.large</p></li>
779    /// <li>
780    /// <p>stream.compute.xlarge</p></li>
781    /// <li>
782    /// <p>stream.compute.2xlarge</p></li>
783    /// <li>
784    /// <p>stream.compute.4xlarge</p></li>
785    /// <li>
786    /// <p>stream.compute.8xlarge</p></li>
787    /// <li>
788    /// <p>stream.memory.large</p></li>
789    /// <li>
790    /// <p>stream.memory.xlarge</p></li>
791    /// <li>
792    /// <p>stream.memory.2xlarge</p></li>
793    /// <li>
794    /// <p>stream.memory.4xlarge</p></li>
795    /// <li>
796    /// <p>stream.memory.8xlarge</p></li>
797    /// <li>
798    /// <p>stream.memory.z1d.large</p></li>
799    /// <li>
800    /// <p>stream.memory.z1d.xlarge</p></li>
801    /// <li>
802    /// <p>stream.memory.z1d.2xlarge</p></li>
803    /// <li>
804    /// <p>stream.memory.z1d.3xlarge</p></li>
805    /// <li>
806    /// <p>stream.memory.z1d.6xlarge</p></li>
807    /// <li>
808    /// <p>stream.memory.z1d.12xlarge</p></li>
809    /// <li>
810    /// <p>stream.graphics-design.large</p></li>
811    /// <li>
812    /// <p>stream.graphics-design.xlarge</p></li>
813    /// <li>
814    /// <p>stream.graphics-design.2xlarge</p></li>
815    /// <li>
816    /// <p>stream.graphics-design.4xlarge</p></li>
817    /// <li>
818    /// <p>stream.graphics.g4dn.xlarge</p></li>
819    /// <li>
820    /// <p>stream.graphics.g4dn.2xlarge</p></li>
821    /// <li>
822    /// <p>stream.graphics.g4dn.4xlarge</p></li>
823    /// <li>
824    /// <p>stream.graphics.g4dn.8xlarge</p></li>
825    /// <li>
826    /// <p>stream.graphics.g4dn.12xlarge</p></li>
827    /// <li>
828    /// <p>stream.graphics.g4dn.16xlarge</p></li>
829    /// <li>
830    /// <p>stream.graphics.g5.xlarge</p></li>
831    /// <li>
832    /// <p>stream.graphics.g5.2xlarge</p></li>
833    /// <li>
834    /// <p>stream.graphics.g5.4xlarge</p></li>
835    /// <li>
836    /// <p>stream.graphics.g5.8xlarge</p></li>
837    /// <li>
838    /// <p>stream.graphics.g5.12xlarge</p></li>
839    /// <li>
840    /// <p>stream.graphics.g5.16xlarge</p></li>
841    /// <li>
842    /// <p>stream.graphics.g5.24xlarge</p></li>
843    /// <li>
844    /// <p>stream.graphics.g6.xlarge</p></li>
845    /// <li>
846    /// <p>stream.graphics.g6.2xlarge</p></li>
847    /// <li>
848    /// <p>stream.graphics.g6.4xlarge</p></li>
849    /// <li>
850    /// <p>stream.graphics.g6.8xlarge</p></li>
851    /// <li>
852    /// <p>stream.graphics.g6.16xlarge</p></li>
853    /// <li>
854    /// <p>stream.graphics.g6.12xlarge</p></li>
855    /// <li>
856    /// <p>stream.graphics.g6.24xlarge</p></li>
857    /// <li>
858    /// <p>stream.graphics.gr6.4xlarge</p></li>
859    /// <li>
860    /// <p>stream.graphics.gr6.8xlarge</p></li>
861    /// <li>
862    /// <p>stream.graphics.g6f.large</p></li>
863    /// <li>
864    /// <p>stream.graphics.g6f.xlarge</p></li>
865    /// <li>
866    /// <p>stream.graphics.g6f.2xlarge</p></li>
867    /// <li>
868    /// <p>stream.graphics.g6f.4xlarge</p></li>
869    /// <li>
870    /// <p>stream.graphics.gr6f.4xlarge</p></li>
871    /// </ul>
872    /// <p>The following instance types are available for Elastic fleets:</p>
873    /// <ul>
874    /// <li>
875    /// <p>stream.standard.small</p></li>
876    /// <li>
877    /// <p>stream.standard.medium</p></li>
878    /// <li>
879    /// <p>stream.standard.large</p></li>
880    /// <li>
881    /// <p>stream.standard.xlarge</p></li>
882    /// <li>
883    /// <p>stream.standard.2xlarge</p></li>
884    /// </ul>
885    pub fn get_instance_type(&self) -> &::std::option::Option<::std::string::String> {
886        &self.instance_type
887    }
888    /// <p>The fleet type.</p>
889    /// <dl>
890    /// <dt>
891    /// ALWAYS_ON
892    /// </dt>
893    /// <dd>
894    /// <p>Provides users with instant-on access to their apps. You are charged for all running instances in your fleet, even if no users are streaming apps.</p>
895    /// </dd>
896    /// <dt>
897    /// ON_DEMAND
898    /// </dt>
899    /// <dd>
900    /// <p>Provide users with access to applications after they connect, which takes one to two minutes. You are charged for instance streaming when users are connected and a small hourly fee for instances that are not streaming apps.</p>
901    /// </dd>
902    /// </dl>
903    pub fn fleet_type(mut self, input: crate::types::FleetType) -> Self {
904        self.fleet_type = ::std::option::Option::Some(input);
905        self
906    }
907    /// <p>The fleet type.</p>
908    /// <dl>
909    /// <dt>
910    /// ALWAYS_ON
911    /// </dt>
912    /// <dd>
913    /// <p>Provides users with instant-on access to their apps. You are charged for all running instances in your fleet, even if no users are streaming apps.</p>
914    /// </dd>
915    /// <dt>
916    /// ON_DEMAND
917    /// </dt>
918    /// <dd>
919    /// <p>Provide users with access to applications after they connect, which takes one to two minutes. You are charged for instance streaming when users are connected and a small hourly fee for instances that are not streaming apps.</p>
920    /// </dd>
921    /// </dl>
922    pub fn set_fleet_type(mut self, input: ::std::option::Option<crate::types::FleetType>) -> Self {
923        self.fleet_type = input;
924        self
925    }
926    /// <p>The fleet type.</p>
927    /// <dl>
928    /// <dt>
929    /// ALWAYS_ON
930    /// </dt>
931    /// <dd>
932    /// <p>Provides users with instant-on access to their apps. You are charged for all running instances in your fleet, even if no users are streaming apps.</p>
933    /// </dd>
934    /// <dt>
935    /// ON_DEMAND
936    /// </dt>
937    /// <dd>
938    /// <p>Provide users with access to applications after they connect, which takes one to two minutes. You are charged for instance streaming when users are connected and a small hourly fee for instances that are not streaming apps.</p>
939    /// </dd>
940    /// </dl>
941    pub fn get_fleet_type(&self) -> &::std::option::Option<crate::types::FleetType> {
942        &self.fleet_type
943    }
944    /// <p>The desired capacity for the fleet. This is not allowed for Elastic fleets. For Elastic fleets, specify MaxConcurrentSessions instead.</p>
945    pub fn compute_capacity(mut self, input: crate::types::ComputeCapacity) -> Self {
946        self.compute_capacity = ::std::option::Option::Some(input);
947        self
948    }
949    /// <p>The desired capacity for the fleet. This is not allowed for Elastic fleets. For Elastic fleets, specify MaxConcurrentSessions instead.</p>
950    pub fn set_compute_capacity(mut self, input: ::std::option::Option<crate::types::ComputeCapacity>) -> Self {
951        self.compute_capacity = input;
952        self
953    }
954    /// <p>The desired capacity for the fleet. This is not allowed for Elastic fleets. For Elastic fleets, specify MaxConcurrentSessions instead.</p>
955    pub fn get_compute_capacity(&self) -> &::std::option::Option<crate::types::ComputeCapacity> {
956        &self.compute_capacity
957    }
958    /// <p>The VPC configuration for the fleet. This is required for Elastic fleets, but not required for other fleet types. Elastic fleets require that you specify at least two subnets in different availability zones.</p>
959    pub fn vpc_config(mut self, input: crate::types::VpcConfig) -> Self {
960        self.vpc_config = ::std::option::Option::Some(input);
961        self
962    }
963    /// <p>The VPC configuration for the fleet. This is required for Elastic fleets, but not required for other fleet types. Elastic fleets require that you specify at least two subnets in different availability zones.</p>
964    pub fn set_vpc_config(mut self, input: ::std::option::Option<crate::types::VpcConfig>) -> Self {
965        self.vpc_config = input;
966        self
967    }
968    /// <p>The VPC configuration for the fleet. This is required for Elastic fleets, but not required for other fleet types. Elastic fleets require that you specify at least two subnets in different availability zones.</p>
969    pub fn get_vpc_config(&self) -> &::std::option::Option<crate::types::VpcConfig> {
970        &self.vpc_config
971    }
972    /// <p>The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.</p>
973    /// <p>Specify a value between 600 and 432000.</p>
974    pub fn max_user_duration_in_seconds(mut self, input: i32) -> Self {
975        self.max_user_duration_in_seconds = ::std::option::Option::Some(input);
976        self
977    }
978    /// <p>The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.</p>
979    /// <p>Specify a value between 600 and 432000.</p>
980    pub fn set_max_user_duration_in_seconds(mut self, input: ::std::option::Option<i32>) -> Self {
981        self.max_user_duration_in_seconds = input;
982        self
983    }
984    /// <p>The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.</p>
985    /// <p>Specify a value between 600 and 432000.</p>
986    pub fn get_max_user_duration_in_seconds(&self) -> &::std::option::Option<i32> {
987        &self.max_user_duration_in_seconds
988    }
989    /// <p>The amount of time that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.</p>
990    /// <p>Specify a value between 60 and 36000.</p>
991    pub fn disconnect_timeout_in_seconds(mut self, input: i32) -> Self {
992        self.disconnect_timeout_in_seconds = ::std::option::Option::Some(input);
993        self
994    }
995    /// <p>The amount of time that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.</p>
996    /// <p>Specify a value between 60 and 36000.</p>
997    pub fn set_disconnect_timeout_in_seconds(mut self, input: ::std::option::Option<i32>) -> Self {
998        self.disconnect_timeout_in_seconds = input;
999        self
1000    }
1001    /// <p>The amount of time that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.</p>
1002    /// <p>Specify a value between 60 and 36000.</p>
1003    pub fn get_disconnect_timeout_in_seconds(&self) -> &::std::option::Option<i32> {
1004        &self.disconnect_timeout_in_seconds
1005    }
1006    /// <p>The description to display.</p>
1007    pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
1008        self.description = ::std::option::Option::Some(input.into());
1009        self
1010    }
1011    /// <p>The description to display.</p>
1012    pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
1013        self.description = input;
1014        self
1015    }
1016    /// <p>The description to display.</p>
1017    pub fn get_description(&self) -> &::std::option::Option<::std::string::String> {
1018        &self.description
1019    }
1020    /// <p>The fleet name to display.</p>
1021    pub fn display_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
1022        self.display_name = ::std::option::Option::Some(input.into());
1023        self
1024    }
1025    /// <p>The fleet name to display.</p>
1026    pub fn set_display_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
1027        self.display_name = input;
1028        self
1029    }
1030    /// <p>The fleet name to display.</p>
1031    pub fn get_display_name(&self) -> &::std::option::Option<::std::string::String> {
1032        &self.display_name
1033    }
1034    /// <p>Enables or disables default internet access for the fleet.</p>
1035    pub fn enable_default_internet_access(mut self, input: bool) -> Self {
1036        self.enable_default_internet_access = ::std::option::Option::Some(input);
1037        self
1038    }
1039    /// <p>Enables or disables default internet access for the fleet.</p>
1040    pub fn set_enable_default_internet_access(mut self, input: ::std::option::Option<bool>) -> Self {
1041        self.enable_default_internet_access = input;
1042        self
1043    }
1044    /// <p>Enables or disables default internet access for the fleet.</p>
1045    pub fn get_enable_default_internet_access(&self) -> &::std::option::Option<bool> {
1046        &self.enable_default_internet_access
1047    }
1048    /// <p>The name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain. This is not allowed for Elastic fleets.</p>
1049    pub fn domain_join_info(mut self, input: crate::types::DomainJoinInfo) -> Self {
1050        self.domain_join_info = ::std::option::Option::Some(input);
1051        self
1052    }
1053    /// <p>The name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain. This is not allowed for Elastic fleets.</p>
1054    pub fn set_domain_join_info(mut self, input: ::std::option::Option<crate::types::DomainJoinInfo>) -> Self {
1055        self.domain_join_info = input;
1056        self
1057    }
1058    /// <p>The name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain. This is not allowed for Elastic fleets.</p>
1059    pub fn get_domain_join_info(&self) -> &::std::option::Option<crate::types::DomainJoinInfo> {
1060        &self.domain_join_info
1061    }
1062    /// Adds a key-value pair to `tags`.
1063    ///
1064    /// To override the contents of this collection use [`set_tags`](Self::set_tags).
1065    ///
1066    /// <p>The tags to associate with the fleet. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.</p>
1067    /// <p>If you do not specify a value, the value is set to an empty string.</p>
1068    /// <p>Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:</p>
1069    /// <p>_ . : / = + \ - @</p>
1070    /// <p>For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging Your Resources</a> in the <i>Amazon WorkSpaces Applications Administration Guide</i>.</p>
1071    pub fn tags(mut self, k: impl ::std::convert::Into<::std::string::String>, v: impl ::std::convert::Into<::std::string::String>) -> Self {
1072        let mut hash_map = self.tags.unwrap_or_default();
1073        hash_map.insert(k.into(), v.into());
1074        self.tags = ::std::option::Option::Some(hash_map);
1075        self
1076    }
1077    /// <p>The tags to associate with the fleet. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.</p>
1078    /// <p>If you do not specify a value, the value is set to an empty string.</p>
1079    /// <p>Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:</p>
1080    /// <p>_ . : / = + \ - @</p>
1081    /// <p>For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging Your Resources</a> in the <i>Amazon WorkSpaces Applications Administration Guide</i>.</p>
1082    pub fn set_tags(mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>) -> Self {
1083        self.tags = input;
1084        self
1085    }
1086    /// <p>The tags to associate with the fleet. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.</p>
1087    /// <p>If you do not specify a value, the value is set to an empty string.</p>
1088    /// <p>Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:</p>
1089    /// <p>_ . : / = + \ - @</p>
1090    /// <p>For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging Your Resources</a> in the <i>Amazon WorkSpaces Applications Administration Guide</i>.</p>
1091    pub fn get_tags(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
1092        &self.tags
1093    }
1094    /// <p>The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the <code>DisconnectTimeoutInSeconds</code> time interval begins. Users are notified before they are disconnected due to inactivity. If they try to reconnect to the streaming session before the time interval specified in <code>DisconnectTimeoutInSeconds</code> elapses, they are connected to their previous session. Users are considered idle when they stop providing keyboard or mouse input during their streaming session. File uploads and downloads, audio in, audio out, and pixels changing do not qualify as user activity. If users continue to be idle after the time interval in <code>IdleDisconnectTimeoutInSeconds</code> elapses, they are disconnected.</p>
1095    /// <p>To prevent users from being disconnected due to inactivity, specify a value of 0. Otherwise, specify a value between 60 and 36000. The default value is 0.</p><note>
1096    /// <p>If you enable this feature, we recommend that you specify a value that corresponds exactly to a whole number of minutes (for example, 60, 120, and 180). If you don't do this, the value is rounded to the nearest minute. For example, if you specify a value of 70, users are disconnected after 1 minute of inactivity. If you specify a value that is at the midpoint between two different minutes, the value is rounded up. For example, if you specify a value of 90, users are disconnected after 2 minutes of inactivity.</p>
1097    /// </note>
1098    pub fn idle_disconnect_timeout_in_seconds(mut self, input: i32) -> Self {
1099        self.idle_disconnect_timeout_in_seconds = ::std::option::Option::Some(input);
1100        self
1101    }
1102    /// <p>The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the <code>DisconnectTimeoutInSeconds</code> time interval begins. Users are notified before they are disconnected due to inactivity. If they try to reconnect to the streaming session before the time interval specified in <code>DisconnectTimeoutInSeconds</code> elapses, they are connected to their previous session. Users are considered idle when they stop providing keyboard or mouse input during their streaming session. File uploads and downloads, audio in, audio out, and pixels changing do not qualify as user activity. If users continue to be idle after the time interval in <code>IdleDisconnectTimeoutInSeconds</code> elapses, they are disconnected.</p>
1103    /// <p>To prevent users from being disconnected due to inactivity, specify a value of 0. Otherwise, specify a value between 60 and 36000. The default value is 0.</p><note>
1104    /// <p>If you enable this feature, we recommend that you specify a value that corresponds exactly to a whole number of minutes (for example, 60, 120, and 180). If you don't do this, the value is rounded to the nearest minute. For example, if you specify a value of 70, users are disconnected after 1 minute of inactivity. If you specify a value that is at the midpoint between two different minutes, the value is rounded up. For example, if you specify a value of 90, users are disconnected after 2 minutes of inactivity.</p>
1105    /// </note>
1106    pub fn set_idle_disconnect_timeout_in_seconds(mut self, input: ::std::option::Option<i32>) -> Self {
1107        self.idle_disconnect_timeout_in_seconds = input;
1108        self
1109    }
1110    /// <p>The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the <code>DisconnectTimeoutInSeconds</code> time interval begins. Users are notified before they are disconnected due to inactivity. If they try to reconnect to the streaming session before the time interval specified in <code>DisconnectTimeoutInSeconds</code> elapses, they are connected to their previous session. Users are considered idle when they stop providing keyboard or mouse input during their streaming session. File uploads and downloads, audio in, audio out, and pixels changing do not qualify as user activity. If users continue to be idle after the time interval in <code>IdleDisconnectTimeoutInSeconds</code> elapses, they are disconnected.</p>
1111    /// <p>To prevent users from being disconnected due to inactivity, specify a value of 0. Otherwise, specify a value between 60 and 36000. The default value is 0.</p><note>
1112    /// <p>If you enable this feature, we recommend that you specify a value that corresponds exactly to a whole number of minutes (for example, 60, 120, and 180). If you don't do this, the value is rounded to the nearest minute. For example, if you specify a value of 70, users are disconnected after 1 minute of inactivity. If you specify a value that is at the midpoint between two different minutes, the value is rounded up. For example, if you specify a value of 90, users are disconnected after 2 minutes of inactivity.</p>
1113    /// </note>
1114    pub fn get_idle_disconnect_timeout_in_seconds(&self) -> &::std::option::Option<i32> {
1115        &self.idle_disconnect_timeout_in_seconds
1116    }
1117    /// <p>The Amazon Resource Name (ARN) of the IAM role to apply to the fleet. To assume a role, a fleet instance calls the AWS Security Token Service (STS) <code>AssumeRole</code> API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. WorkSpaces Applications retrieves the temporary credentials and creates the <b>appstream_machine_role</b> credential profile on the instance.</p>
1118    /// <p>For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html">Using an IAM Role to Grant Permissions to Applications and Scripts Running on WorkSpaces Applications Streaming Instances</a> in the <i>Amazon WorkSpaces Applications Administration Guide</i>.</p>
1119    pub fn iam_role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
1120        self.iam_role_arn = ::std::option::Option::Some(input.into());
1121        self
1122    }
1123    /// <p>The Amazon Resource Name (ARN) of the IAM role to apply to the fleet. To assume a role, a fleet instance calls the AWS Security Token Service (STS) <code>AssumeRole</code> API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. WorkSpaces Applications retrieves the temporary credentials and creates the <b>appstream_machine_role</b> credential profile on the instance.</p>
1124    /// <p>For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html">Using an IAM Role to Grant Permissions to Applications and Scripts Running on WorkSpaces Applications Streaming Instances</a> in the <i>Amazon WorkSpaces Applications Administration Guide</i>.</p>
1125    pub fn set_iam_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
1126        self.iam_role_arn = input;
1127        self
1128    }
1129    /// <p>The Amazon Resource Name (ARN) of the IAM role to apply to the fleet. To assume a role, a fleet instance calls the AWS Security Token Service (STS) <code>AssumeRole</code> API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. WorkSpaces Applications retrieves the temporary credentials and creates the <b>appstream_machine_role</b> credential profile on the instance.</p>
1130    /// <p>For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html">Using an IAM Role to Grant Permissions to Applications and Scripts Running on WorkSpaces Applications Streaming Instances</a> in the <i>Amazon WorkSpaces Applications Administration Guide</i>.</p>
1131    pub fn get_iam_role_arn(&self) -> &::std::option::Option<::std::string::String> {
1132        &self.iam_role_arn
1133    }
1134    /// <p>The WorkSpaces Applications view that is displayed to your users when they stream from the fleet. When <code>APP</code> is specified, only the windows of applications opened by users display. When <code>DESKTOP</code> is specified, the standard desktop that is provided by the operating system displays.</p>
1135    /// <p>The default value is <code>APP</code>.</p>
1136    pub fn stream_view(mut self, input: crate::types::StreamView) -> Self {
1137        self.stream_view = ::std::option::Option::Some(input);
1138        self
1139    }
1140    /// <p>The WorkSpaces Applications view that is displayed to your users when they stream from the fleet. When <code>APP</code> is specified, only the windows of applications opened by users display. When <code>DESKTOP</code> is specified, the standard desktop that is provided by the operating system displays.</p>
1141    /// <p>The default value is <code>APP</code>.</p>
1142    pub fn set_stream_view(mut self, input: ::std::option::Option<crate::types::StreamView>) -> Self {
1143        self.stream_view = input;
1144        self
1145    }
1146    /// <p>The WorkSpaces Applications view that is displayed to your users when they stream from the fleet. When <code>APP</code> is specified, only the windows of applications opened by users display. When <code>DESKTOP</code> is specified, the standard desktop that is provided by the operating system displays.</p>
1147    /// <p>The default value is <code>APP</code>.</p>
1148    pub fn get_stream_view(&self) -> &::std::option::Option<crate::types::StreamView> {
1149        &self.stream_view
1150    }
1151    /// <p>The fleet platform. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.</p>
1152    pub fn platform(mut self, input: crate::types::PlatformType) -> Self {
1153        self.platform = ::std::option::Option::Some(input);
1154        self
1155    }
1156    /// <p>The fleet platform. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.</p>
1157    pub fn set_platform(mut self, input: ::std::option::Option<crate::types::PlatformType>) -> Self {
1158        self.platform = input;
1159        self
1160    }
1161    /// <p>The fleet platform. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.</p>
1162    pub fn get_platform(&self) -> &::std::option::Option<crate::types::PlatformType> {
1163        &self.platform
1164    }
1165    /// <p>The maximum concurrent sessions of the Elastic fleet. This is required for Elastic fleets, and not allowed for other fleet types.</p>
1166    pub fn max_concurrent_sessions(mut self, input: i32) -> Self {
1167        self.max_concurrent_sessions = ::std::option::Option::Some(input);
1168        self
1169    }
1170    /// <p>The maximum concurrent sessions of the Elastic fleet. This is required for Elastic fleets, and not allowed for other fleet types.</p>
1171    pub fn set_max_concurrent_sessions(mut self, input: ::std::option::Option<i32>) -> Self {
1172        self.max_concurrent_sessions = input;
1173        self
1174    }
1175    /// <p>The maximum concurrent sessions of the Elastic fleet. This is required for Elastic fleets, and not allowed for other fleet types.</p>
1176    pub fn get_max_concurrent_sessions(&self) -> &::std::option::Option<i32> {
1177        &self.max_concurrent_sessions
1178    }
1179    /// Appends an item to `usb_device_filter_strings`.
1180    ///
1181    /// To override the contents of this collection use [`set_usb_device_filter_strings`](Self::set_usb_device_filter_strings).
1182    ///
1183    /// <p>The USB device filter strings that specify which USB devices a user can redirect to the fleet streaming session, when using the Windows native client. This is allowed but not required for Elastic fleets.</p>
1184    pub fn usb_device_filter_strings(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
1185        let mut v = self.usb_device_filter_strings.unwrap_or_default();
1186        v.push(input.into());
1187        self.usb_device_filter_strings = ::std::option::Option::Some(v);
1188        self
1189    }
1190    /// <p>The USB device filter strings that specify which USB devices a user can redirect to the fleet streaming session, when using the Windows native client. This is allowed but not required for Elastic fleets.</p>
1191    pub fn set_usb_device_filter_strings(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
1192        self.usb_device_filter_strings = input;
1193        self
1194    }
1195    /// <p>The USB device filter strings that specify which USB devices a user can redirect to the fleet streaming session, when using the Windows native client. This is allowed but not required for Elastic fleets.</p>
1196    pub fn get_usb_device_filter_strings(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
1197        &self.usb_device_filter_strings
1198    }
1199    /// <p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.</p>
1200    pub fn session_script_s3_location(mut self, input: crate::types::S3Location) -> Self {
1201        self.session_script_s3_location = ::std::option::Option::Some(input);
1202        self
1203    }
1204    /// <p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.</p>
1205    pub fn set_session_script_s3_location(mut self, input: ::std::option::Option<crate::types::S3Location>) -> Self {
1206        self.session_script_s3_location = input;
1207        self
1208    }
1209    /// <p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.</p>
1210    pub fn get_session_script_s3_location(&self) -> &::std::option::Option<crate::types::S3Location> {
1211        &self.session_script_s3_location
1212    }
1213    /// <p>The maximum number of user sessions on an instance. This only applies to multi-session fleets.</p>
1214    pub fn max_sessions_per_instance(mut self, input: i32) -> Self {
1215        self.max_sessions_per_instance = ::std::option::Option::Some(input);
1216        self
1217    }
1218    /// <p>The maximum number of user sessions on an instance. This only applies to multi-session fleets.</p>
1219    pub fn set_max_sessions_per_instance(mut self, input: ::std::option::Option<i32>) -> Self {
1220        self.max_sessions_per_instance = input;
1221        self
1222    }
1223    /// <p>The maximum number of user sessions on an instance. This only applies to multi-session fleets.</p>
1224    pub fn get_max_sessions_per_instance(&self) -> &::std::option::Option<i32> {
1225        &self.max_sessions_per_instance
1226    }
1227    /// <p>The configuration for the root volume of fleet instances. Use this to customize storage capacity from 200 GB up to 500 GB based on your application requirements.</p>
1228    pub fn root_volume_config(mut self, input: crate::types::VolumeConfig) -> Self {
1229        self.root_volume_config = ::std::option::Option::Some(input);
1230        self
1231    }
1232    /// <p>The configuration for the root volume of fleet instances. Use this to customize storage capacity from 200 GB up to 500 GB based on your application requirements.</p>
1233    pub fn set_root_volume_config(mut self, input: ::std::option::Option<crate::types::VolumeConfig>) -> Self {
1234        self.root_volume_config = input;
1235        self
1236    }
1237    /// <p>The configuration for the root volume of fleet instances. Use this to customize storage capacity from 200 GB up to 500 GB based on your application requirements.</p>
1238    pub fn get_root_volume_config(&self) -> &::std::option::Option<crate::types::VolumeConfig> {
1239        &self.root_volume_config
1240    }
1241    /// Consumes the builder and constructs a [`CreateFleetInput`](crate::operation::create_fleet::CreateFleetInput).
1242    pub fn build(self) -> ::std::result::Result<crate::operation::create_fleet::CreateFleetInput, ::aws_smithy_types::error::operation::BuildError> {
1243        ::std::result::Result::Ok(crate::operation::create_fleet::CreateFleetInput {
1244            name: self.name,
1245            image_name: self.image_name,
1246            image_arn: self.image_arn,
1247            instance_type: self.instance_type,
1248            fleet_type: self.fleet_type,
1249            compute_capacity: self.compute_capacity,
1250            vpc_config: self.vpc_config,
1251            max_user_duration_in_seconds: self.max_user_duration_in_seconds,
1252            disconnect_timeout_in_seconds: self.disconnect_timeout_in_seconds,
1253            description: self.description,
1254            display_name: self.display_name,
1255            enable_default_internet_access: self.enable_default_internet_access,
1256            domain_join_info: self.domain_join_info,
1257            tags: self.tags,
1258            idle_disconnect_timeout_in_seconds: self.idle_disconnect_timeout_in_seconds,
1259            iam_role_arn: self.iam_role_arn,
1260            stream_view: self.stream_view,
1261            platform: self.platform,
1262            max_concurrent_sessions: self.max_concurrent_sessions,
1263            usb_device_filter_strings: self.usb_device_filter_strings,
1264            session_script_s3_location: self.session_script_s3_location,
1265            max_sessions_per_instance: self.max_sessions_per_instance,
1266            root_volume_config: self.root_volume_config,
1267        })
1268    }
1269}