Struct aws_sdk_elasticache::operation::create_cache_security_group::builders::CreateCacheSecurityGroupInputBuilder
source · #[non_exhaustive]pub struct CreateCacheSecurityGroupInputBuilder { /* private fields */ }
Expand description
A builder for CreateCacheSecurityGroupInput
.
Implementations§
source§impl CreateCacheSecurityGroupInputBuilder
impl CreateCacheSecurityGroupInputBuilder
sourcepub fn cache_security_group_name(self, input: impl Into<String>) -> Self
pub fn cache_security_group_name(self, input: impl Into<String>) -> Self
A name for the cache security group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word "Default".
Example: mysecuritygroup
sourcepub fn set_cache_security_group_name(self, input: Option<String>) -> Self
pub fn set_cache_security_group_name(self, input: Option<String>) -> Self
A name for the cache security group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word "Default".
Example: mysecuritygroup
sourcepub fn get_cache_security_group_name(&self) -> &Option<String>
pub fn get_cache_security_group_name(&self) -> &Option<String>
A name for the cache security group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word "Default".
Example: mysecuritygroup
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description for the cache security group.
This field is required.sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description for the cache security group.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description for the cache security group.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
sourcepub fn build(self) -> Result<CreateCacheSecurityGroupInput, BuildError>
pub fn build(self) -> Result<CreateCacheSecurityGroupInput, BuildError>
Consumes the builder and constructs a CreateCacheSecurityGroupInput
.
source§impl CreateCacheSecurityGroupInputBuilder
impl CreateCacheSecurityGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateCacheSecurityGroupOutput, SdkError<CreateCacheSecurityGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateCacheSecurityGroupOutput, SdkError<CreateCacheSecurityGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateCacheSecurityGroupInputBuilder
impl Clone for CreateCacheSecurityGroupInputBuilder
source§fn clone(&self) -> CreateCacheSecurityGroupInputBuilder
fn clone(&self) -> CreateCacheSecurityGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateCacheSecurityGroupInputBuilder
impl Default for CreateCacheSecurityGroupInputBuilder
source§fn default() -> CreateCacheSecurityGroupInputBuilder
fn default() -> CreateCacheSecurityGroupInputBuilder
source§impl PartialEq for CreateCacheSecurityGroupInputBuilder
impl PartialEq for CreateCacheSecurityGroupInputBuilder
source§fn eq(&self, other: &CreateCacheSecurityGroupInputBuilder) -> bool
fn eq(&self, other: &CreateCacheSecurityGroupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.