#[non_exhaustive]pub struct CreateVpcAttachmentInput {
pub core_network_id: Option<String>,
pub vpc_arn: Option<String>,
pub subnet_arns: Option<Vec<String>>,
pub options: Option<VpcOptions>,
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.core_network_id: Option<String>
The ID of a core network for the VPC attachment.
vpc_arn: Option<String>
The ARN of the VPC.
subnet_arns: Option<Vec<String>>
The subnet ARN of the VPC attachment.
options: Option<VpcOptions>
Options for the VPC attachment.
The key-value tags associated with the request.
client_token: Option<String>
The client token associated with the request.
Implementations§
source§impl CreateVpcAttachmentInput
impl CreateVpcAttachmentInput
sourcepub fn core_network_id(&self) -> Option<&str>
pub fn core_network_id(&self) -> Option<&str>
The ID of a core network for the VPC attachment.
sourcepub fn subnet_arns(&self) -> &[String]
pub fn subnet_arns(&self) -> &[String]
The subnet ARN of the VPC attachment.
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_arns.is_none()
.
sourcepub fn options(&self) -> Option<&VpcOptions>
pub fn options(&self) -> Option<&VpcOptions>
Options for the VPC attachment.
The key-value tags associated with the request.
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>
The client token associated with the request.
source§impl CreateVpcAttachmentInput
impl CreateVpcAttachmentInput
sourcepub fn builder() -> CreateVpcAttachmentInputBuilder
pub fn builder() -> CreateVpcAttachmentInputBuilder
Creates a new builder-style object to manufacture CreateVpcAttachmentInput
.
Trait Implementations§
source§impl Clone for CreateVpcAttachmentInput
impl Clone for CreateVpcAttachmentInput
source§fn clone(&self) -> CreateVpcAttachmentInput
fn clone(&self) -> CreateVpcAttachmentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateVpcAttachmentInput
impl Debug for CreateVpcAttachmentInput
source§impl PartialEq for CreateVpcAttachmentInput
impl PartialEq for CreateVpcAttachmentInput
source§fn eq(&self, other: &CreateVpcAttachmentInput) -> bool
fn eq(&self, other: &CreateVpcAttachmentInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateVpcAttachmentInput
Auto Trait Implementations§
impl Freeze for CreateVpcAttachmentInput
impl RefUnwindSafe for CreateVpcAttachmentInput
impl Send for CreateVpcAttachmentInput
impl Sync for CreateVpcAttachmentInput
impl Unpin for CreateVpcAttachmentInput
impl UnwindSafe for CreateVpcAttachmentInput
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> 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