Struct aws_sdk_ec2::types::builders::StaleSecurityGroupBuilder
source · #[non_exhaustive]pub struct StaleSecurityGroupBuilder { /* private fields */ }
Expand description
A builder for StaleSecurityGroup
.
Implementations§
source§impl StaleSecurityGroupBuilder
impl StaleSecurityGroupBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the security group.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the security group.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the security group.
sourcepub fn set_group_id(self, input: Option<String>) -> Self
pub fn set_group_id(self, input: Option<String>) -> Self
The ID of the security group.
sourcepub fn get_group_id(&self) -> &Option<String>
pub fn get_group_id(&self) -> &Option<String>
The ID of the security group.
sourcepub fn group_name(self, input: impl Into<String>) -> Self
pub fn group_name(self, input: impl Into<String>) -> Self
The name of the security group.
sourcepub fn set_group_name(self, input: Option<String>) -> Self
pub fn set_group_name(self, input: Option<String>) -> Self
The name of the security group.
sourcepub fn get_group_name(&self) -> &Option<String>
pub fn get_group_name(&self) -> &Option<String>
The name of the security group.
sourcepub fn stale_ip_permissions(self, input: StaleIpPermission) -> Self
pub fn stale_ip_permissions(self, input: StaleIpPermission) -> Self
Appends an item to stale_ip_permissions
.
To override the contents of this collection use set_stale_ip_permissions
.
Information about the stale inbound rules in the security group.
sourcepub fn set_stale_ip_permissions(
self,
input: Option<Vec<StaleIpPermission>>,
) -> Self
pub fn set_stale_ip_permissions( self, input: Option<Vec<StaleIpPermission>>, ) -> Self
Information about the stale inbound rules in the security group.
sourcepub fn get_stale_ip_permissions(&self) -> &Option<Vec<StaleIpPermission>>
pub fn get_stale_ip_permissions(&self) -> &Option<Vec<StaleIpPermission>>
Information about the stale inbound rules in the security group.
sourcepub fn stale_ip_permissions_egress(self, input: StaleIpPermission) -> Self
pub fn stale_ip_permissions_egress(self, input: StaleIpPermission) -> Self
Appends an item to stale_ip_permissions_egress
.
To override the contents of this collection use set_stale_ip_permissions_egress
.
Information about the stale outbound rules in the security group.
sourcepub fn set_stale_ip_permissions_egress(
self,
input: Option<Vec<StaleIpPermission>>,
) -> Self
pub fn set_stale_ip_permissions_egress( self, input: Option<Vec<StaleIpPermission>>, ) -> Self
Information about the stale outbound rules in the security group.
sourcepub fn get_stale_ip_permissions_egress(&self) -> &Option<Vec<StaleIpPermission>>
pub fn get_stale_ip_permissions_egress(&self) -> &Option<Vec<StaleIpPermission>>
Information about the stale outbound rules in the security group.
sourcepub fn vpc_id(self, input: impl Into<String>) -> Self
pub fn vpc_id(self, input: impl Into<String>) -> Self
The ID of the VPC for the security group.
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 for the security group.
sourcepub fn get_vpc_id(&self) -> &Option<String>
pub fn get_vpc_id(&self) -> &Option<String>
The ID of the VPC for the security group.
sourcepub fn build(self) -> StaleSecurityGroup
pub fn build(self) -> StaleSecurityGroup
Consumes the builder and constructs a StaleSecurityGroup
.
Trait Implementations§
source§impl Clone for StaleSecurityGroupBuilder
impl Clone for StaleSecurityGroupBuilder
source§fn clone(&self) -> StaleSecurityGroupBuilder
fn clone(&self) -> StaleSecurityGroupBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StaleSecurityGroupBuilder
impl Debug for StaleSecurityGroupBuilder
source§impl Default for StaleSecurityGroupBuilder
impl Default for StaleSecurityGroupBuilder
source§fn default() -> StaleSecurityGroupBuilder
fn default() -> StaleSecurityGroupBuilder
source§impl PartialEq for StaleSecurityGroupBuilder
impl PartialEq for StaleSecurityGroupBuilder
source§fn eq(&self, other: &StaleSecurityGroupBuilder) -> bool
fn eq(&self, other: &StaleSecurityGroupBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StaleSecurityGroupBuilder
Auto Trait Implementations§
impl Freeze for StaleSecurityGroupBuilder
impl RefUnwindSafe for StaleSecurityGroupBuilder
impl Send for StaleSecurityGroupBuilder
impl Sync for StaleSecurityGroupBuilder
impl Unpin for StaleSecurityGroupBuilder
impl UnwindSafe for StaleSecurityGroupBuilder
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