Struct aws_sdk_workspacesweb::operation::create_network_settings::CreateNetworkSettingsInput
source · #[non_exhaustive]pub struct CreateNetworkSettingsInput {
pub vpc_id: Option<String>,
pub subnet_ids: Option<Vec<String>>,
pub security_group_ids: Option<Vec<String>>,
pub tags: Option<Vec<Tag>>,
pub client_token: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.vpc_id: Option<String>
The VPC that streaming instances will connect to.
subnet_ids: Option<Vec<String>>
The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones.
security_group_ids: Option<Vec<String>>
One or more security groups used to control access from streaming instances to your VPC.
The tags to add to the network settings resource. A tag is a key-value pair.
client_token: Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.
If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.
Implementations§
source§impl CreateNetworkSettingsInput
impl CreateNetworkSettingsInput
sourcepub fn subnet_ids(&self) -> &[String]
pub fn subnet_ids(&self) -> &[String]
The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .subnet_ids.is_none()
.
sourcepub fn security_group_ids(&self) -> &[String]
pub fn security_group_ids(&self) -> &[String]
One or more security groups used to control access from streaming instances to your VPC.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .security_group_ids.is_none()
.
The tags to add to the network settings resource. A tag is a key-value pair.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.
If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.
source§impl CreateNetworkSettingsInput
impl CreateNetworkSettingsInput
sourcepub fn builder() -> CreateNetworkSettingsInputBuilder
pub fn builder() -> CreateNetworkSettingsInputBuilder
Creates a new builder-style object to manufacture CreateNetworkSettingsInput
.
Trait Implementations§
source§impl Clone for CreateNetworkSettingsInput
impl Clone for CreateNetworkSettingsInput
source§fn clone(&self) -> CreateNetworkSettingsInput
fn clone(&self) -> CreateNetworkSettingsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateNetworkSettingsInput
impl Debug for CreateNetworkSettingsInput
source§impl PartialEq for CreateNetworkSettingsInput
impl PartialEq for CreateNetworkSettingsInput
source§fn eq(&self, other: &CreateNetworkSettingsInput) -> bool
fn eq(&self, other: &CreateNetworkSettingsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateNetworkSettingsInput
Auto Trait Implementations§
impl Freeze for CreateNetworkSettingsInput
impl RefUnwindSafe for CreateNetworkSettingsInput
impl Send for CreateNetworkSettingsInput
impl Sync for CreateNetworkSettingsInput
impl Unpin for CreateNetworkSettingsInput
impl UnwindSafe for CreateNetworkSettingsInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more