aws_sdk_evs/operation/create_environment/builders.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2pub use crate::operation::create_environment::_create_environment_output::CreateEnvironmentOutputBuilder;
3
4pub use crate::operation::create_environment::_create_environment_input::CreateEnvironmentInputBuilder;
5
6impl crate::operation::create_environment::builders::CreateEnvironmentInputBuilder {
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::create_environment::CreateEnvironmentOutput,
13 ::aws_smithy_runtime_api::client::result::SdkError<
14 crate::operation::create_environment::CreateEnvironmentError,
15 ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
16 >,
17 > {
18 let mut fluent_builder = client.create_environment();
19 fluent_builder.inner = self;
20 fluent_builder.send().await
21 }
22}
23/// Fluent builder constructing a request to `CreateEnvironment`.
24///
25/// <p>Creates an Amazon EVS environment that runs VCF software, such as SDDC Manager, NSX Manager, and vCenter Server.</p>
26/// <p>During environment creation, Amazon EVS performs validations on DNS settings, provisions VLAN subnets and hosts, and deploys the supplied version of VCF.</p>
27/// <p>It can take several hours to create an environment. After the deployment completes, you can configure VCF according to your unique requirements.</p><note>
28/// <p>You cannot use the <code>dedicatedHostId</code> and <code>placementGroupId</code> parameters together in the same <code>CreateEnvironment</code> action. This results in a <code>ValidationException</code> response.</p>
29/// </note> <note>
30/// <p>EC2 instances created through Amazon EVS do not support associating an IAM instance profile.</p>
31/// </note>
32#[derive(::std::clone::Clone, ::std::fmt::Debug)]
33pub struct CreateEnvironmentFluentBuilder {
34 handle: ::std::sync::Arc<crate::client::Handle>,
35 inner: crate::operation::create_environment::builders::CreateEnvironmentInputBuilder,
36 config_override: ::std::option::Option<crate::config::Builder>,
37}
38impl
39 crate::client::customize::internal::CustomizableSend<
40 crate::operation::create_environment::CreateEnvironmentOutput,
41 crate::operation::create_environment::CreateEnvironmentError,
42 > for CreateEnvironmentFluentBuilder
43{
44 fn send(
45 self,
46 config_override: crate::config::Builder,
47 ) -> crate::client::customize::internal::BoxFuture<
48 crate::client::customize::internal::SendResult<
49 crate::operation::create_environment::CreateEnvironmentOutput,
50 crate::operation::create_environment::CreateEnvironmentError,
51 >,
52 > {
53 ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
54 }
55}
56impl CreateEnvironmentFluentBuilder {
57 /// Creates a new `CreateEnvironmentFluentBuilder`.
58 pub(crate) fn new(handle: ::std::sync::Arc<crate::client::Handle>) -> Self {
59 Self {
60 handle,
61 inner: ::std::default::Default::default(),
62 config_override: ::std::option::Option::None,
63 }
64 }
65 /// Access the CreateEnvironment as a reference.
66 pub fn as_input(&self) -> &crate::operation::create_environment::builders::CreateEnvironmentInputBuilder {
67 &self.inner
68 }
69 /// Sends the request and returns the response.
70 ///
71 /// If an error occurs, an `SdkError` will be returned with additional details that
72 /// can be matched against.
73 ///
74 /// By default, any retryable failures will be retried twice. Retry behavior
75 /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
76 /// set when configuring the client.
77 pub async fn send(
78 self,
79 ) -> ::std::result::Result<
80 crate::operation::create_environment::CreateEnvironmentOutput,
81 ::aws_smithy_runtime_api::client::result::SdkError<
82 crate::operation::create_environment::CreateEnvironmentError,
83 ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
84 >,
85 > {
86 let input = self
87 .inner
88 .build()
89 .map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?;
90 let runtime_plugins = crate::operation::create_environment::CreateEnvironment::operation_runtime_plugins(
91 self.handle.runtime_plugins.clone(),
92 &self.handle.conf,
93 self.config_override,
94 );
95 crate::operation::create_environment::CreateEnvironment::orchestrate(&runtime_plugins, input).await
96 }
97
98 /// Consumes this builder, creating a customizable operation that can be modified before being sent.
99 pub fn customize(
100 self,
101 ) -> crate::client::customize::CustomizableOperation<
102 crate::operation::create_environment::CreateEnvironmentOutput,
103 crate::operation::create_environment::CreateEnvironmentError,
104 Self,
105 > {
106 crate::client::customize::CustomizableOperation::new(self)
107 }
108 pub(crate) fn config_override(mut self, config_override: impl ::std::convert::Into<crate::config::Builder>) -> Self {
109 self.set_config_override(::std::option::Option::Some(config_override.into()));
110 self
111 }
112
113 pub(crate) fn set_config_override(&mut self, config_override: ::std::option::Option<crate::config::Builder>) -> &mut Self {
114 self.config_override = config_override;
115 self
116 }
117 /// <note>
118 /// <p>This parameter is not used in Amazon EVS currently. If you supply input for this parameter, it will have no effect.</p>
119 /// </note>
120 /// <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the environment creation request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency.</p>
121 pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
122 self.inner = self.inner.client_token(input.into());
123 self
124 }
125 /// <note>
126 /// <p>This parameter is not used in Amazon EVS currently. If you supply input for this parameter, it will have no effect.</p>
127 /// </note>
128 /// <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the environment creation request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency.</p>
129 pub fn set_client_token(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
130 self.inner = self.inner.set_client_token(input);
131 self
132 }
133 /// <note>
134 /// <p>This parameter is not used in Amazon EVS currently. If you supply input for this parameter, it will have no effect.</p>
135 /// </note>
136 /// <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the environment creation request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency.</p>
137 pub fn get_client_token(&self) -> &::std::option::Option<::std::string::String> {
138 self.inner.get_client_token()
139 }
140 /// <p>The name to give to your environment. The name can contain only alphanumeric characters (case-sensitive), hyphens, and underscores. It must start with an alphanumeric character, and can't be longer than 100 characters. The name must be unique within the Amazon Web Services Region and Amazon Web Services account that you're creating the environment in.</p>
141 pub fn environment_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
142 self.inner = self.inner.environment_name(input.into());
143 self
144 }
145 /// <p>The name to give to your environment. The name can contain only alphanumeric characters (case-sensitive), hyphens, and underscores. It must start with an alphanumeric character, and can't be longer than 100 characters. The name must be unique within the Amazon Web Services Region and Amazon Web Services account that you're creating the environment in.</p>
146 pub fn set_environment_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
147 self.inner = self.inner.set_environment_name(input);
148 self
149 }
150 /// <p>The name to give to your environment. The name can contain only alphanumeric characters (case-sensitive), hyphens, and underscores. It must start with an alphanumeric character, and can't be longer than 100 characters. The name must be unique within the Amazon Web Services Region and Amazon Web Services account that you're creating the environment in.</p>
151 pub fn get_environment_name(&self) -> &::std::option::Option<::std::string::String> {
152 self.inner.get_environment_name()
153 }
154 /// <p>A unique ID for the customer-managed KMS key that is used to encrypt the VCF credential pairs for SDDC Manager, NSX Manager, and vCenter appliances. These credentials are stored in Amazon Web Services Secrets Manager.</p>
155 pub fn kms_key_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
156 self.inner = self.inner.kms_key_id(input.into());
157 self
158 }
159 /// <p>A unique ID for the customer-managed KMS key that is used to encrypt the VCF credential pairs for SDDC Manager, NSX Manager, and vCenter appliances. These credentials are stored in Amazon Web Services Secrets Manager.</p>
160 pub fn set_kms_key_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
161 self.inner = self.inner.set_kms_key_id(input);
162 self
163 }
164 /// <p>A unique ID for the customer-managed KMS key that is used to encrypt the VCF credential pairs for SDDC Manager, NSX Manager, and vCenter appliances. These credentials are stored in Amazon Web Services Secrets Manager.</p>
165 pub fn get_kms_key_id(&self) -> &::std::option::Option<::std::string::String> {
166 self.inner.get_kms_key_id()
167 }
168 ///
169 /// Adds a key-value pair to `tags`.
170 ///
171 /// To override the contents of this collection use [`set_tags`](Self::set_tags).
172 ///
173 /// <p>Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.</p>
174 pub fn tags(mut self, k: impl ::std::convert::Into<::std::string::String>, v: impl ::std::convert::Into<::std::string::String>) -> Self {
175 self.inner = self.inner.tags(k.into(), v.into());
176 self
177 }
178 /// <p>Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.</p>
179 pub fn set_tags(mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>) -> Self {
180 self.inner = self.inner.set_tags(input);
181 self
182 }
183 /// <p>Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.</p>
184 pub fn get_tags(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
185 self.inner.get_tags()
186 }
187 /// <p>The security group that controls communication between the Amazon EVS control plane and VPC. The default security group is used if a custom security group isn't specified.</p>
188 /// <p>The security group should allow access to the following.</p>
189 /// <ul>
190 /// <li>
191 /// <p>TCP/UDP access to the DNS servers</p></li>
192 /// <li>
193 /// <p>HTTPS/SSH access to the host management VLAN subnet</p></li>
194 /// <li>
195 /// <p>HTTPS/SSH access to the Management VM VLAN subnet</p></li>
196 /// </ul>
197 /// <p>You should avoid modifying the security group rules after deployment, as this can break the persistent connection between the Amazon EVS control plane and VPC. This can cause future environment actions like adding or removing hosts to fail.</p>
198 pub fn service_access_security_groups(mut self, input: crate::types::ServiceAccessSecurityGroups) -> Self {
199 self.inner = self.inner.service_access_security_groups(input);
200 self
201 }
202 /// <p>The security group that controls communication between the Amazon EVS control plane and VPC. The default security group is used if a custom security group isn't specified.</p>
203 /// <p>The security group should allow access to the following.</p>
204 /// <ul>
205 /// <li>
206 /// <p>TCP/UDP access to the DNS servers</p></li>
207 /// <li>
208 /// <p>HTTPS/SSH access to the host management VLAN subnet</p></li>
209 /// <li>
210 /// <p>HTTPS/SSH access to the Management VM VLAN subnet</p></li>
211 /// </ul>
212 /// <p>You should avoid modifying the security group rules after deployment, as this can break the persistent connection between the Amazon EVS control plane and VPC. This can cause future environment actions like adding or removing hosts to fail.</p>
213 pub fn set_service_access_security_groups(mut self, input: ::std::option::Option<crate::types::ServiceAccessSecurityGroups>) -> Self {
214 self.inner = self.inner.set_service_access_security_groups(input);
215 self
216 }
217 /// <p>The security group that controls communication between the Amazon EVS control plane and VPC. The default security group is used if a custom security group isn't specified.</p>
218 /// <p>The security group should allow access to the following.</p>
219 /// <ul>
220 /// <li>
221 /// <p>TCP/UDP access to the DNS servers</p></li>
222 /// <li>
223 /// <p>HTTPS/SSH access to the host management VLAN subnet</p></li>
224 /// <li>
225 /// <p>HTTPS/SSH access to the Management VM VLAN subnet</p></li>
226 /// </ul>
227 /// <p>You should avoid modifying the security group rules after deployment, as this can break the persistent connection between the Amazon EVS control plane and VPC. This can cause future environment actions like adding or removing hosts to fail.</p>
228 pub fn get_service_access_security_groups(&self) -> &::std::option::Option<crate::types::ServiceAccessSecurityGroups> {
229 self.inner.get_service_access_security_groups()
230 }
231 /// <p>A unique ID for the VPC that connects to the environment control plane for service access.</p>
232 /// <p>Amazon EVS requires that all VPC subnets exist in a single Availability Zone in a Region where the service is available.</p>
233 /// <p>The VPC that you select must have a valid DHCP option set with domain name, at least two DNS servers, and an NTP server. These settings are used to configure your VCF appliances and hosts.</p>
234 /// <p>If you plan to use HCX over the internet, choose a VPC that has a primary CIDR block and a /28 secondary CIDR block from an IPAM pool. Make sure that your VPC also has an attached internet gateway.</p>
235 /// <p>Amazon EVS does not support the following Amazon Web Services networking options for NSX overlay connectivity: cross-Region VPC peering, Amazon S3 gateway endpoints, or Amazon Web Services Direct Connect virtual private gateway associations.</p>
236 pub fn vpc_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
237 self.inner = self.inner.vpc_id(input.into());
238 self
239 }
240 /// <p>A unique ID for the VPC that connects to the environment control plane for service access.</p>
241 /// <p>Amazon EVS requires that all VPC subnets exist in a single Availability Zone in a Region where the service is available.</p>
242 /// <p>The VPC that you select must have a valid DHCP option set with domain name, at least two DNS servers, and an NTP server. These settings are used to configure your VCF appliances and hosts.</p>
243 /// <p>If you plan to use HCX over the internet, choose a VPC that has a primary CIDR block and a /28 secondary CIDR block from an IPAM pool. Make sure that your VPC also has an attached internet gateway.</p>
244 /// <p>Amazon EVS does not support the following Amazon Web Services networking options for NSX overlay connectivity: cross-Region VPC peering, Amazon S3 gateway endpoints, or Amazon Web Services Direct Connect virtual private gateway associations.</p>
245 pub fn set_vpc_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
246 self.inner = self.inner.set_vpc_id(input);
247 self
248 }
249 /// <p>A unique ID for the VPC that connects to the environment control plane for service access.</p>
250 /// <p>Amazon EVS requires that all VPC subnets exist in a single Availability Zone in a Region where the service is available.</p>
251 /// <p>The VPC that you select must have a valid DHCP option set with domain name, at least two DNS servers, and an NTP server. These settings are used to configure your VCF appliances and hosts.</p>
252 /// <p>If you plan to use HCX over the internet, choose a VPC that has a primary CIDR block and a /28 secondary CIDR block from an IPAM pool. Make sure that your VPC also has an attached internet gateway.</p>
253 /// <p>Amazon EVS does not support the following Amazon Web Services networking options for NSX overlay connectivity: cross-Region VPC peering, Amazon S3 gateway endpoints, or Amazon Web Services Direct Connect virtual private gateway associations.</p>
254 pub fn get_vpc_id(&self) -> &::std::option::Option<::std::string::String> {
255 self.inner.get_vpc_id()
256 }
257 /// <p>The subnet that is used to establish connectivity between the Amazon EVS control plane and VPC. Amazon EVS uses this subnet to validate mandatory DNS records for your VCF appliances and hosts and create the environment.</p>
258 pub fn service_access_subnet_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
259 self.inner = self.inner.service_access_subnet_id(input.into());
260 self
261 }
262 /// <p>The subnet that is used to establish connectivity between the Amazon EVS control plane and VPC. Amazon EVS uses this subnet to validate mandatory DNS records for your VCF appliances and hosts and create the environment.</p>
263 pub fn set_service_access_subnet_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
264 self.inner = self.inner.set_service_access_subnet_id(input);
265 self
266 }
267 /// <p>The subnet that is used to establish connectivity between the Amazon EVS control plane and VPC. Amazon EVS uses this subnet to validate mandatory DNS records for your VCF appliances and hosts and create the environment.</p>
268 pub fn get_service_access_subnet_id(&self) -> &::std::option::Option<::std::string::String> {
269 self.inner.get_service_access_subnet_id()
270 }
271 /// <p>The VCF version to use for the environment. Amazon EVS only supports VCF version 5.2.1 at this time.</p>
272 pub fn vcf_version(mut self, input: crate::types::VcfVersion) -> Self {
273 self.inner = self.inner.vcf_version(input);
274 self
275 }
276 /// <p>The VCF version to use for the environment. Amazon EVS only supports VCF version 5.2.1 at this time.</p>
277 pub fn set_vcf_version(mut self, input: ::std::option::Option<crate::types::VcfVersion>) -> Self {
278 self.inner = self.inner.set_vcf_version(input);
279 self
280 }
281 /// <p>The VCF version to use for the environment. Amazon EVS only supports VCF version 5.2.1 at this time.</p>
282 pub fn get_vcf_version(&self) -> &::std::option::Option<crate::types::VcfVersion> {
283 self.inner.get_vcf_version()
284 }
285 /// <p>Customer confirmation that the customer has purchased and maintains sufficient VCF software licenses to cover all physical processor cores in the environment, in compliance with VMware's licensing requirements and terms of use.</p>
286 pub fn terms_accepted(mut self, input: bool) -> Self {
287 self.inner = self.inner.terms_accepted(input);
288 self
289 }
290 /// <p>Customer confirmation that the customer has purchased and maintains sufficient VCF software licenses to cover all physical processor cores in the environment, in compliance with VMware's licensing requirements and terms of use.</p>
291 pub fn set_terms_accepted(mut self, input: ::std::option::Option<bool>) -> Self {
292 self.inner = self.inner.set_terms_accepted(input);
293 self
294 }
295 /// <p>Customer confirmation that the customer has purchased and maintains sufficient VCF software licenses to cover all physical processor cores in the environment, in compliance with VMware's licensing requirements and terms of use.</p>
296 pub fn get_terms_accepted(&self) -> &::std::option::Option<bool> {
297 self.inner.get_terms_accepted()
298 }
299 ///
300 /// Appends an item to `licenseInfo`.
301 ///
302 /// To override the contents of this collection use [`set_license_info`](Self::set_license_info).
303 ///
304 /// <p>The license information that Amazon EVS requires to create an environment. Amazon EVS requires two license keys: a VCF solution key and a vSAN license key. VCF licenses must have sufficient core entitlements to cover vCPU core and vSAN storage capacity needs.</p>
305 /// <p>VCF licenses can be used for only one Amazon EVS environment. Amazon EVS does not support reuse of VCF licenses for multiple environments.</p>
306 /// <p>VCF license information can be retrieved from the Broadcom portal.</p>
307 pub fn license_info(mut self, input: crate::types::LicenseInfo) -> Self {
308 self.inner = self.inner.license_info(input);
309 self
310 }
311 /// <p>The license information that Amazon EVS requires to create an environment. Amazon EVS requires two license keys: a VCF solution key and a vSAN license key. VCF licenses must have sufficient core entitlements to cover vCPU core and vSAN storage capacity needs.</p>
312 /// <p>VCF licenses can be used for only one Amazon EVS environment. Amazon EVS does not support reuse of VCF licenses for multiple environments.</p>
313 /// <p>VCF license information can be retrieved from the Broadcom portal.</p>
314 pub fn set_license_info(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::LicenseInfo>>) -> Self {
315 self.inner = self.inner.set_license_info(input);
316 self
317 }
318 /// <p>The license information that Amazon EVS requires to create an environment. Amazon EVS requires two license keys: a VCF solution key and a vSAN license key. VCF licenses must have sufficient core entitlements to cover vCPU core and vSAN storage capacity needs.</p>
319 /// <p>VCF licenses can be used for only one Amazon EVS environment. Amazon EVS does not support reuse of VCF licenses for multiple environments.</p>
320 /// <p>VCF license information can be retrieved from the Broadcom portal.</p>
321 pub fn get_license_info(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::LicenseInfo>> {
322 self.inner.get_license_info()
323 }
324 /// <p>The initial VLAN subnets for the environment. You must specify a non-overlapping CIDR block for each VLAN subnet.</p>
325 pub fn initial_vlans(mut self, input: crate::types::InitialVlans) -> Self {
326 self.inner = self.inner.initial_vlans(input);
327 self
328 }
329 /// <p>The initial VLAN subnets for the environment. You must specify a non-overlapping CIDR block for each VLAN subnet.</p>
330 pub fn set_initial_vlans(mut self, input: ::std::option::Option<crate::types::InitialVlans>) -> Self {
331 self.inner = self.inner.set_initial_vlans(input);
332 self
333 }
334 /// <p>The initial VLAN subnets for the environment. You must specify a non-overlapping CIDR block for each VLAN subnet.</p>
335 pub fn get_initial_vlans(&self) -> &::std::option::Option<crate::types::InitialVlans> {
336 self.inner.get_initial_vlans()
337 }
338 ///
339 /// Appends an item to `hosts`.
340 ///
341 /// To override the contents of this collection use [`set_hosts`](Self::set_hosts).
342 ///
343 /// <p>The ESXi hosts to add to the environment. Amazon EVS requires that you provide details for a minimum of 4 hosts during environment creation.</p>
344 /// <p>For each host, you must provide the desired hostname, EC2 SSH key, and EC2 instance type. Optionally, you can also provide a partition or cluster placement group to use, or use Amazon EC2 Dedicated Hosts.</p>
345 pub fn hosts(mut self, input: crate::types::HostInfoForCreate) -> Self {
346 self.inner = self.inner.hosts(input);
347 self
348 }
349 /// <p>The ESXi hosts to add to the environment. Amazon EVS requires that you provide details for a minimum of 4 hosts during environment creation.</p>
350 /// <p>For each host, you must provide the desired hostname, EC2 SSH key, and EC2 instance type. Optionally, you can also provide a partition or cluster placement group to use, or use Amazon EC2 Dedicated Hosts.</p>
351 pub fn set_hosts(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::HostInfoForCreate>>) -> Self {
352 self.inner = self.inner.set_hosts(input);
353 self
354 }
355 /// <p>The ESXi hosts to add to the environment. Amazon EVS requires that you provide details for a minimum of 4 hosts during environment creation.</p>
356 /// <p>For each host, you must provide the desired hostname, EC2 SSH key, and EC2 instance type. Optionally, you can also provide a partition or cluster placement group to use, or use Amazon EC2 Dedicated Hosts.</p>
357 pub fn get_hosts(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::HostInfoForCreate>> {
358 self.inner.get_hosts()
359 }
360 /// <p>The connectivity configuration for the environment. Amazon EVS requires that you specify two route server peer IDs. During environment creation, the route server endpoints peer with the NSX edges over the NSX, providing BGP dynamic routing for overlay networks.</p>
361 pub fn connectivity_info(mut self, input: crate::types::ConnectivityInfo) -> Self {
362 self.inner = self.inner.connectivity_info(input);
363 self
364 }
365 /// <p>The connectivity configuration for the environment. Amazon EVS requires that you specify two route server peer IDs. During environment creation, the route server endpoints peer with the NSX edges over the NSX, providing BGP dynamic routing for overlay networks.</p>
366 pub fn set_connectivity_info(mut self, input: ::std::option::Option<crate::types::ConnectivityInfo>) -> Self {
367 self.inner = self.inner.set_connectivity_info(input);
368 self
369 }
370 /// <p>The connectivity configuration for the environment. Amazon EVS requires that you specify two route server peer IDs. During environment creation, the route server endpoints peer with the NSX edges over the NSX, providing BGP dynamic routing for overlay networks.</p>
371 pub fn get_connectivity_info(&self) -> &::std::option::Option<crate::types::ConnectivityInfo> {
372 self.inner.get_connectivity_info()
373 }
374 /// <p>The DNS hostnames for the virtual machines that host the VCF management appliances. Amazon EVS requires that you provide DNS hostnames for the following appliances: vCenter, NSX Manager, SDDC Manager, and Cloud Builder.</p>
375 pub fn vcf_hostnames(mut self, input: crate::types::VcfHostnames) -> Self {
376 self.inner = self.inner.vcf_hostnames(input);
377 self
378 }
379 /// <p>The DNS hostnames for the virtual machines that host the VCF management appliances. Amazon EVS requires that you provide DNS hostnames for the following appliances: vCenter, NSX Manager, SDDC Manager, and Cloud Builder.</p>
380 pub fn set_vcf_hostnames(mut self, input: ::std::option::Option<crate::types::VcfHostnames>) -> Self {
381 self.inner = self.inner.set_vcf_hostnames(input);
382 self
383 }
384 /// <p>The DNS hostnames for the virtual machines that host the VCF management appliances. Amazon EVS requires that you provide DNS hostnames for the following appliances: vCenter, NSX Manager, SDDC Manager, and Cloud Builder.</p>
385 pub fn get_vcf_hostnames(&self) -> &::std::option::Option<crate::types::VcfHostnames> {
386 self.inner.get_vcf_hostnames()
387 }
388 /// <p>The Broadcom Site ID that is allocated to you as part of your electronic software delivery. This ID allows customer access to the Broadcom portal, and is provided to you by Broadcom at the close of your software contract or contract renewal. Amazon EVS uses the Broadcom Site ID that you provide to meet Broadcom VCF license usage reporting requirements for Amazon EVS.</p>
389 pub fn site_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
390 self.inner = self.inner.site_id(input.into());
391 self
392 }
393 /// <p>The Broadcom Site ID that is allocated to you as part of your electronic software delivery. This ID allows customer access to the Broadcom portal, and is provided to you by Broadcom at the close of your software contract or contract renewal. Amazon EVS uses the Broadcom Site ID that you provide to meet Broadcom VCF license usage reporting requirements for Amazon EVS.</p>
394 pub fn set_site_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
395 self.inner = self.inner.set_site_id(input);
396 self
397 }
398 /// <p>The Broadcom Site ID that is allocated to you as part of your electronic software delivery. This ID allows customer access to the Broadcom portal, and is provided to you by Broadcom at the close of your software contract or contract renewal. Amazon EVS uses the Broadcom Site ID that you provide to meet Broadcom VCF license usage reporting requirements for Amazon EVS.</p>
399 pub fn get_site_id(&self) -> &::std::option::Option<::std::string::String> {
400 self.inner.get_site_id()
401 }
402}