#[non_exhaustive]pub struct VpcConnectionSummaryBuilder { /* private fields */ }Expand description
A builder for VpcConnectionSummary.
Implementations§
source§impl VpcConnectionSummaryBuilder
impl VpcConnectionSummaryBuilder
sourcepub fn vpc_connection_id(self, input: impl Into<String>) -> Self
pub fn vpc_connection_id(self, input: impl Into<String>) -> Self
The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.
sourcepub fn set_vpc_connection_id(self, input: Option<String>) -> Self
pub fn set_vpc_connection_id(self, input: Option<String>) -> Self
The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.
sourcepub fn get_vpc_connection_id(&self) -> &Option<String>
pub fn get_vpc_connection_id(&self) -> &Option<String>
The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the VPC connection.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the VPC connection.
sourcepub fn vpc_id(self, input: impl Into<String>) -> Self
pub fn vpc_id(self, input: impl Into<String>) -> Self
The Amazon EC2 VPC ID associated with the VPC connection.
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The Amazon EC2 VPC ID associated with the VPC connection.
sourcepub fn get_vpc_id(&self) -> &Option<String>
pub fn get_vpc_id(&self) -> &Option<String>
The Amazon EC2 VPC ID associated with the VPC connection.
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.
The Amazon EC2 security group IDs associated with the VPC connection.
sourcepub fn set_security_group_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_security_group_ids(self, input: Option<Vec<String>>) -> Self
The Amazon EC2 security group IDs associated with the VPC connection.
sourcepub fn get_security_group_ids(&self) -> &Option<Vec<String>>
pub fn get_security_group_ids(&self) -> &Option<Vec<String>>
The Amazon EC2 security group IDs associated with the VPC connection.
sourcepub fn dns_resolvers(self, input: impl Into<String>) -> Self
pub fn dns_resolvers(self, input: impl Into<String>) -> Self
Appends an item to dns_resolvers.
To override the contents of this collection use set_dns_resolvers.
A list of IP addresses of DNS resolver endpoints for the VPC connection.
sourcepub fn set_dns_resolvers(self, input: Option<Vec<String>>) -> Self
pub fn set_dns_resolvers(self, input: Option<Vec<String>>) -> Self
A list of IP addresses of DNS resolver endpoints for the VPC connection.
sourcepub fn get_dns_resolvers(&self) -> &Option<Vec<String>>
pub fn get_dns_resolvers(&self) -> &Option<Vec<String>>
A list of IP addresses of DNS resolver endpoints for the VPC connection.
sourcepub fn status(self, input: VpcConnectionResourceStatus) -> Self
pub fn status(self, input: VpcConnectionResourceStatus) -> Self
The status of the VPC connection.
sourcepub fn set_status(self, input: Option<VpcConnectionResourceStatus>) -> Self
pub fn set_status(self, input: Option<VpcConnectionResourceStatus>) -> Self
The status of the VPC connection.
sourcepub fn get_status(&self) -> &Option<VpcConnectionResourceStatus>
pub fn get_status(&self) -> &Option<VpcConnectionResourceStatus>
The status of the VPC connection.
sourcepub fn availability_status(self, input: VpcConnectionAvailabilityStatus) -> Self
pub fn availability_status(self, input: VpcConnectionAvailabilityStatus) -> Self
The availability status of the VPC connection.
sourcepub fn set_availability_status(
self,
input: Option<VpcConnectionAvailabilityStatus>,
) -> Self
pub fn set_availability_status( self, input: Option<VpcConnectionAvailabilityStatus>, ) -> Self
The availability status of the VPC connection.
sourcepub fn get_availability_status(
&self,
) -> &Option<VpcConnectionAvailabilityStatus>
pub fn get_availability_status( &self, ) -> &Option<VpcConnectionAvailabilityStatus>
The availability status of the VPC connection.
sourcepub fn network_interfaces(self, input: NetworkInterface) -> Self
pub fn network_interfaces(self, input: NetworkInterface) -> Self
Appends an item to network_interfaces.
To override the contents of this collection use set_network_interfaces.
A list of network interfaces.
sourcepub fn set_network_interfaces(
self,
input: Option<Vec<NetworkInterface>>,
) -> Self
pub fn set_network_interfaces( self, input: Option<Vec<NetworkInterface>>, ) -> Self
A list of network interfaces.
sourcepub fn get_network_interfaces(&self) -> &Option<Vec<NetworkInterface>>
pub fn get_network_interfaces(&self) -> &Option<Vec<NetworkInterface>>
A list of network interfaces.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The ARN of the IAM role associated with the VPC connection.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The ARN of the IAM role associated with the VPC connection.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The ARN of the IAM role associated with the VPC connection.
sourcepub fn created_time(self, input: DateTime) -> Self
pub fn created_time(self, input: DateTime) -> Self
The time that the VPC connection was created.
sourcepub fn set_created_time(self, input: Option<DateTime>) -> Self
pub fn set_created_time(self, input: Option<DateTime>) -> Self
The time that the VPC connection was created.
sourcepub fn get_created_time(&self) -> &Option<DateTime>
pub fn get_created_time(&self) -> &Option<DateTime>
The time that the VPC connection was created.
sourcepub fn last_updated_time(self, input: DateTime) -> Self
pub fn last_updated_time(self, input: DateTime) -> Self
The time that the VPC connection was last updated.
sourcepub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
The time that the VPC connection was last updated.
sourcepub fn get_last_updated_time(&self) -> &Option<DateTime>
pub fn get_last_updated_time(&self) -> &Option<DateTime>
The time that the VPC connection was last updated.
sourcepub fn build(self) -> VpcConnectionSummary
pub fn build(self) -> VpcConnectionSummary
Consumes the builder and constructs a VpcConnectionSummary.
Trait Implementations§
source§impl Clone for VpcConnectionSummaryBuilder
impl Clone for VpcConnectionSummaryBuilder
source§fn clone(&self) -> VpcConnectionSummaryBuilder
fn clone(&self) -> VpcConnectionSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for VpcConnectionSummaryBuilder
impl Debug for VpcConnectionSummaryBuilder
source§impl Default for VpcConnectionSummaryBuilder
impl Default for VpcConnectionSummaryBuilder
source§fn default() -> VpcConnectionSummaryBuilder
fn default() -> VpcConnectionSummaryBuilder
source§impl PartialEq for VpcConnectionSummaryBuilder
impl PartialEq for VpcConnectionSummaryBuilder
source§fn eq(&self, other: &VpcConnectionSummaryBuilder) -> bool
fn eq(&self, other: &VpcConnectionSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for VpcConnectionSummaryBuilder
Auto Trait Implementations§
impl Freeze for VpcConnectionSummaryBuilder
impl RefUnwindSafe for VpcConnectionSummaryBuilder
impl Send for VpcConnectionSummaryBuilder
impl Sync for VpcConnectionSummaryBuilder
impl Unpin for VpcConnectionSummaryBuilder
impl UnwindSafe for VpcConnectionSummaryBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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