#[non_exhaustive]pub struct SecurityGroupMembershipBuilder { /* private fields */ }
Expand description
A builder for SecurityGroupMembership
.
Implementations§
source§impl SecurityGroupMembershipBuilder
impl SecurityGroupMembershipBuilder
sourcepub fn security_group_id(self, input: impl Into<String>) -> Self
pub fn security_group_id(self, input: impl Into<String>) -> Self
The identifier of the cache security group.
sourcepub fn set_security_group_id(self, input: Option<String>) -> Self
pub fn set_security_group_id(self, input: Option<String>) -> Self
The identifier of the cache security group.
sourcepub fn get_security_group_id(&self) -> &Option<String>
pub fn get_security_group_id(&self) -> &Option<String>
The identifier of the cache security group.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The status of the cache security group membership. The status changes whenever a cache security group is modified, or when the cache security groups assigned to a cluster are modified.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the cache security group membership. The status changes whenever a cache security group is modified, or when the cache security groups assigned to a cluster are modified.
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The status of the cache security group membership. The status changes whenever a cache security group is modified, or when the cache security groups assigned to a cluster are modified.
sourcepub fn build(self) -> SecurityGroupMembership
pub fn build(self) -> SecurityGroupMembership
Consumes the builder and constructs a SecurityGroupMembership
.
Trait Implementations§
source§impl Clone for SecurityGroupMembershipBuilder
impl Clone for SecurityGroupMembershipBuilder
source§fn clone(&self) -> SecurityGroupMembershipBuilder
fn clone(&self) -> SecurityGroupMembershipBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SecurityGroupMembershipBuilder
impl Default for SecurityGroupMembershipBuilder
source§fn default() -> SecurityGroupMembershipBuilder
fn default() -> SecurityGroupMembershipBuilder
source§impl PartialEq for SecurityGroupMembershipBuilder
impl PartialEq for SecurityGroupMembershipBuilder
source§fn eq(&self, other: &SecurityGroupMembershipBuilder) -> bool
fn eq(&self, other: &SecurityGroupMembershipBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.