#[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 ==
.