Struct aws_sdk_apigatewayv2::types::builders::VpcLinkBuilder
source · #[non_exhaustive]pub struct VpcLinkBuilder { /* private fields */ }Expand description
A builder for VpcLink.
Implementations§
source§impl VpcLinkBuilder
impl VpcLinkBuilder
sourcepub fn created_date(self, input: DateTime) -> Self
pub fn created_date(self, input: DateTime) -> Self
The timestamp when the VPC link was created.
sourcepub fn set_created_date(self, input: Option<DateTime>) -> Self
pub fn set_created_date(self, input: Option<DateTime>) -> Self
The timestamp when the VPC link was created.
sourcepub fn get_created_date(&self) -> &Option<DateTime>
pub fn get_created_date(&self) -> &Option<DateTime>
The timestamp when the VPC link was created.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the VPC link.
This field is required.sourcepub fn security_group_ids(self, input: impl Into<String>) -> Self
pub fn security_group_ids(self, input: impl Into<String>) -> Self
Appends an item to security_group_ids.
To override the contents of this collection use set_security_group_ids.
A list of security group IDs for the VPC link.
sourcepub fn set_security_group_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_security_group_ids(self, input: Option<Vec<String>>) -> Self
A list of security group IDs for the VPC link.
sourcepub fn get_security_group_ids(&self) -> &Option<Vec<String>>
pub fn get_security_group_ids(&self) -> &Option<Vec<String>>
A list of security group IDs for the VPC link.
sourcepub fn subnet_ids(self, input: impl Into<String>) -> Self
pub fn subnet_ids(self, input: impl Into<String>) -> Self
Appends an item to subnet_ids.
To override the contents of this collection use set_subnet_ids.
A list of subnet IDs to include in the VPC link.
sourcepub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
A list of subnet IDs to include in the VPC link.
sourcepub fn get_subnet_ids(&self) -> &Option<Vec<String>>
pub fn get_subnet_ids(&self) -> &Option<Vec<String>>
A list of subnet IDs to include in the VPC link.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
Tags for the VPC link.
Tags for the VPC link.
Tags for the VPC link.
sourcepub fn vpc_link_id(self, input: impl Into<String>) -> Self
pub fn vpc_link_id(self, input: impl Into<String>) -> Self
The ID of the VPC link.
This field is required.sourcepub fn set_vpc_link_id(self, input: Option<String>) -> Self
pub fn set_vpc_link_id(self, input: Option<String>) -> Self
The ID of the VPC link.
sourcepub fn get_vpc_link_id(&self) -> &Option<String>
pub fn get_vpc_link_id(&self) -> &Option<String>
The ID of the VPC link.
sourcepub fn vpc_link_status(self, input: VpcLinkStatus) -> Self
pub fn vpc_link_status(self, input: VpcLinkStatus) -> Self
The status of the VPC link.
sourcepub fn set_vpc_link_status(self, input: Option<VpcLinkStatus>) -> Self
pub fn set_vpc_link_status(self, input: Option<VpcLinkStatus>) -> Self
The status of the VPC link.
sourcepub fn get_vpc_link_status(&self) -> &Option<VpcLinkStatus>
pub fn get_vpc_link_status(&self) -> &Option<VpcLinkStatus>
The status of the VPC link.
sourcepub fn vpc_link_status_message(self, input: impl Into<String>) -> Self
pub fn vpc_link_status_message(self, input: impl Into<String>) -> Self
A message summarizing the cause of the status of the VPC link.
sourcepub fn set_vpc_link_status_message(self, input: Option<String>) -> Self
pub fn set_vpc_link_status_message(self, input: Option<String>) -> Self
A message summarizing the cause of the status of the VPC link.
sourcepub fn get_vpc_link_status_message(&self) -> &Option<String>
pub fn get_vpc_link_status_message(&self) -> &Option<String>
A message summarizing the cause of the status of the VPC link.
sourcepub fn vpc_link_version(self, input: VpcLinkVersion) -> Self
pub fn vpc_link_version(self, input: VpcLinkVersion) -> Self
The version of the VPC link.
sourcepub fn set_vpc_link_version(self, input: Option<VpcLinkVersion>) -> Self
pub fn set_vpc_link_version(self, input: Option<VpcLinkVersion>) -> Self
The version of the VPC link.
sourcepub fn get_vpc_link_version(&self) -> &Option<VpcLinkVersion>
pub fn get_vpc_link_version(&self) -> &Option<VpcLinkVersion>
The version of the VPC link.
Trait Implementations§
source§impl Clone for VpcLinkBuilder
impl Clone for VpcLinkBuilder
source§fn clone(&self) -> VpcLinkBuilder
fn clone(&self) -> VpcLinkBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for VpcLinkBuilder
impl Debug for VpcLinkBuilder
source§impl Default for VpcLinkBuilder
impl Default for VpcLinkBuilder
source§fn default() -> VpcLinkBuilder
fn default() -> VpcLinkBuilder
source§impl PartialEq for VpcLinkBuilder
impl PartialEq for VpcLinkBuilder
source§fn eq(&self, other: &VpcLinkBuilder) -> bool
fn eq(&self, other: &VpcLinkBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for VpcLinkBuilder
Auto Trait Implementations§
impl Freeze for VpcLinkBuilder
impl RefUnwindSafe for VpcLinkBuilder
impl Send for VpcLinkBuilder
impl Sync for VpcLinkBuilder
impl Unpin for VpcLinkBuilder
impl UnwindSafe for VpcLinkBuilder
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