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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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) -> Option<&[Ec2SecurityGroup]>
pub fn ec2_security_groups(&self) -> Option<&[Ec2SecurityGroup]>
A list of Amazon EC2 security groups that are associated with this cache security group.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CacheSecurityGroup
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more