Struct aws_sdk_elasticache::types::CacheSecurityGroup
source · #[non_exhaustive]pub struct CacheSecurityGroup {
pub owner_id: Option<String>,
pub cache_security_group_name: Option<String>,
pub description: Option<String>,
pub ec2_security_groups: Option<Vec<Ec2SecurityGroup>>,
pub arn: Option<String>,
}
Expand description
Represents the output of one of the following operations:
-
AuthorizeCacheSecurityGroupIngress
-
CreateCacheSecurityGroup
-
RevokeCacheSecurityGroupIngress
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.owner_id: Option<String>
The Amazon account ID of the cache security group owner.
cache_security_group_name: Option<String>
The name of the cache security group.
description: Option<String>
The description of the cache security group.
ec2_security_groups: Option<Vec<Ec2SecurityGroup>>
A list of Amazon EC2 security groups that are associated with this cache security group.
arn: Option<String>
The ARN of the cache security group,
Implementations§
source§impl CacheSecurityGroup
impl CacheSecurityGroup
sourcepub fn owner_id(&self) -> Option<&str>
pub fn owner_id(&self) -> Option<&str>
The Amazon account ID of the cache security group owner.
sourcepub fn cache_security_group_name(&self) -> Option<&str>
pub fn cache_security_group_name(&self) -> Option<&str>
The name of the cache security group.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the cache security group.
sourcepub fn ec2_security_groups(&self) -> &[Ec2SecurityGroup]
pub fn ec2_security_groups(&self) -> &[Ec2SecurityGroup]
A list of Amazon EC2 security groups that are associated with this cache security group.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .ec2_security_groups.is_none()
.
source§impl CacheSecurityGroup
impl CacheSecurityGroup
sourcepub fn builder() -> CacheSecurityGroupBuilder
pub fn builder() -> CacheSecurityGroupBuilder
Creates a new builder-style object to manufacture CacheSecurityGroup
.
Trait Implementations§
source§impl Clone for CacheSecurityGroup
impl Clone for CacheSecurityGroup
source§fn clone(&self) -> CacheSecurityGroup
fn clone(&self) -> CacheSecurityGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CacheSecurityGroup
impl Debug for CacheSecurityGroup
source§impl PartialEq for CacheSecurityGroup
impl PartialEq for CacheSecurityGroup
source§fn eq(&self, other: &CacheSecurityGroup) -> bool
fn eq(&self, other: &CacheSecurityGroup) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CacheSecurityGroup
Auto Trait Implementations§
impl Freeze for CacheSecurityGroup
impl RefUnwindSafe for CacheSecurityGroup
impl Send for CacheSecurityGroup
impl Sync for CacheSecurityGroup
impl Unpin for CacheSecurityGroup
impl UnwindSafe for CacheSecurityGroup
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