#[non_exhaustive]pub struct VpcDestinationPropertiesBuilder { /* private fields */ }
Expand description
A builder for VpcDestinationProperties
.
Implementations§
source§impl VpcDestinationPropertiesBuilder
impl VpcDestinationPropertiesBuilder
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
.
The subnet IDs of the VPC destination.
sourcepub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
The subnet IDs of the VPC destination.
sourcepub fn get_subnet_ids(&self) -> &Option<Vec<String>>
pub fn get_subnet_ids(&self) -> &Option<Vec<String>>
The subnet IDs of the VPC destination.
sourcepub fn security_groups(self, input: impl Into<String>) -> Self
pub fn security_groups(self, input: impl Into<String>) -> Self
Appends an item to security_groups
.
To override the contents of this collection use set_security_groups
.
The security groups of the VPC destination.
sourcepub fn set_security_groups(self, input: Option<Vec<String>>) -> Self
pub fn set_security_groups(self, input: Option<Vec<String>>) -> Self
The security groups of the VPC destination.
sourcepub fn get_security_groups(&self) -> &Option<Vec<String>>
pub fn get_security_groups(&self) -> &Option<Vec<String>>
The security groups of the VPC destination.
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The ID of the VPC.
sourcepub fn get_vpc_id(&self) -> &Option<String>
pub fn get_vpc_id(&self) -> &Option<String>
The ID of the VPC.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).
sourcepub fn build(self) -> VpcDestinationProperties
pub fn build(self) -> VpcDestinationProperties
Consumes the builder and constructs a VpcDestinationProperties
.
Trait Implementations§
source§impl Clone for VpcDestinationPropertiesBuilder
impl Clone for VpcDestinationPropertiesBuilder
source§fn clone(&self) -> VpcDestinationPropertiesBuilder
fn clone(&self) -> VpcDestinationPropertiesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for VpcDestinationPropertiesBuilder
impl Default for VpcDestinationPropertiesBuilder
source§fn default() -> VpcDestinationPropertiesBuilder
fn default() -> VpcDestinationPropertiesBuilder
source§impl PartialEq for VpcDestinationPropertiesBuilder
impl PartialEq for VpcDestinationPropertiesBuilder
source§fn eq(&self, other: &VpcDestinationPropertiesBuilder) -> bool
fn eq(&self, other: &VpcDestinationPropertiesBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for VpcDestinationPropertiesBuilder
Auto Trait Implementations§
impl Freeze for VpcDestinationPropertiesBuilder
impl RefUnwindSafe for VpcDestinationPropertiesBuilder
impl Send for VpcDestinationPropertiesBuilder
impl Sync for VpcDestinationPropertiesBuilder
impl Unpin for VpcDestinationPropertiesBuilder
impl UnwindSafe for VpcDestinationPropertiesBuilder
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