Struct aws_sdk_iot::types::builders::VpcDestinationSummaryBuilder
source · #[non_exhaustive]pub struct VpcDestinationSummaryBuilder { /* private fields */ }
Expand description
A builder for VpcDestinationSummary
.
Implementations§
source§impl VpcDestinationSummaryBuilder
impl VpcDestinationSummaryBuilder
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) -> VpcDestinationSummary
pub fn build(self) -> VpcDestinationSummary
Consumes the builder and constructs a VpcDestinationSummary
.
Trait Implementations§
source§impl Clone for VpcDestinationSummaryBuilder
impl Clone for VpcDestinationSummaryBuilder
source§fn clone(&self) -> VpcDestinationSummaryBuilder
fn clone(&self) -> VpcDestinationSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VpcDestinationSummaryBuilder
impl Debug for VpcDestinationSummaryBuilder
source§impl Default for VpcDestinationSummaryBuilder
impl Default for VpcDestinationSummaryBuilder
source§fn default() -> VpcDestinationSummaryBuilder
fn default() -> VpcDestinationSummaryBuilder
source§impl PartialEq for VpcDestinationSummaryBuilder
impl PartialEq for VpcDestinationSummaryBuilder
source§fn eq(&self, other: &VpcDestinationSummaryBuilder) -> bool
fn eq(&self, other: &VpcDestinationSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VpcDestinationSummaryBuilder
Auto Trait Implementations§
impl Freeze for VpcDestinationSummaryBuilder
impl RefUnwindSafe for VpcDestinationSummaryBuilder
impl Send for VpcDestinationSummaryBuilder
impl Sync for VpcDestinationSummaryBuilder
impl Unpin for VpcDestinationSummaryBuilder
impl UnwindSafe for VpcDestinationSummaryBuilder
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