#[non_exhaustive]pub struct CreateVpcLinkInput {
pub name: Option<String>,
pub security_group_ids: Option<Vec<String>>,
pub subnet_ids: Option<Vec<String>>,
pub tags: Option<HashMap<String, String>>,
}Expand description
Creates a VPC link
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.name: Option<String>The name of the VPC link.
security_group_ids: Option<Vec<String>>A list of security group IDs for the VPC link.
subnet_ids: Option<Vec<String>>A list of subnet IDs to include in the VPC link.
A list of tags.
Implementations§
source§impl CreateVpcLinkInput
impl CreateVpcLinkInput
sourcepub fn security_group_ids(&self) -> &[String]
pub fn security_group_ids(&self) -> &[String]
A list of security group IDs for the VPC link.
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().
sourcepub fn subnet_ids(&self) -> &[String]
pub fn subnet_ids(&self) -> &[String]
A list of subnet IDs to include in the VPC link.
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().
A list of tags.
source§impl CreateVpcLinkInput
impl CreateVpcLinkInput
sourcepub fn builder() -> CreateVpcLinkInputBuilder
pub fn builder() -> CreateVpcLinkInputBuilder
Creates a new builder-style object to manufacture CreateVpcLinkInput.
Trait Implementations§
source§impl Clone for CreateVpcLinkInput
impl Clone for CreateVpcLinkInput
source§fn clone(&self) -> CreateVpcLinkInput
fn clone(&self) -> CreateVpcLinkInput
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 CreateVpcLinkInput
impl Debug for CreateVpcLinkInput
source§impl PartialEq for CreateVpcLinkInput
impl PartialEq for CreateVpcLinkInput
source§fn eq(&self, other: &CreateVpcLinkInput) -> bool
fn eq(&self, other: &CreateVpcLinkInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateVpcLinkInput
Auto Trait Implementations§
impl RefUnwindSafe for CreateVpcLinkInput
impl Send for CreateVpcLinkInput
impl Sync for CreateVpcLinkInput
impl Unpin for CreateVpcLinkInput
impl UnwindSafe for CreateVpcLinkInput
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
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>
Creates a shared type from an unshared type.