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 ==
.