pub struct Builder { /* private fields */ }
Expand description
A builder for CreateCacheSecurityGroupInput
.
Implementations§
source§impl Builder
impl Builder
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 description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description for the cache security group.
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.
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.
sourcepub fn build(self) -> Result<CreateCacheSecurityGroupInput, BuildError>
pub fn build(self) -> Result<CreateCacheSecurityGroupInput, BuildError>
Consumes the builder and constructs a CreateCacheSecurityGroupInput
.