#[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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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) -> Option<&[String]>
pub fn subnet_arns(&self) -> Option<&[String]>
The subnet ARN of the VPC attachment.
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.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateVpcAttachmentInput
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more