Struct aws_sdk_elasticache::operation::create_cache_subnet_group::builders::CreateCacheSubnetGroupInputBuilder
source · #[non_exhaustive]pub struct CreateCacheSubnetGroupInputBuilder { /* private fields */ }
Expand description
A builder for CreateCacheSubnetGroupInput
.
Implementations§
source§impl CreateCacheSubnetGroupInputBuilder
impl CreateCacheSubnetGroupInputBuilder
sourcepub fn cache_subnet_group_name(self, input: impl Into<String>) -> Self
pub fn cache_subnet_group_name(self, input: impl Into<String>) -> Self
A name for the cache subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
sourcepub fn set_cache_subnet_group_name(self, input: Option<String>) -> Self
pub fn set_cache_subnet_group_name(self, input: Option<String>) -> Self
A name for the cache subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
sourcepub fn get_cache_subnet_group_name(&self) -> &Option<String>
pub fn get_cache_subnet_group_name(&self) -> &Option<String>
A name for the cache subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
sourcepub fn cache_subnet_group_description(self, input: impl Into<String>) -> Self
pub fn cache_subnet_group_description(self, input: impl Into<String>) -> Self
A description for the cache subnet group.
This field is required.sourcepub fn set_cache_subnet_group_description(self, input: Option<String>) -> Self
pub fn set_cache_subnet_group_description(self, input: Option<String>) -> Self
A description for the cache subnet group.
sourcepub fn get_cache_subnet_group_description(&self) -> &Option<String>
pub fn get_cache_subnet_group_description(&self) -> &Option<String>
A description for the cache subnet group.
sourcepub fn subnet_ids(self, input: impl Into<String>) -> Self
pub fn subnet_ids(self, input: impl Into<String>) -> Self
Appends an item to subnet_ids
.
To override the contents of this collection use set_subnet_ids
.
A list of VPC subnet IDs for the cache subnet group.
sourcepub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
A list of VPC subnet IDs for the cache subnet group.
sourcepub fn get_subnet_ids(&self) -> &Option<Vec<String>>
pub fn get_subnet_ids(&self) -> &Option<Vec<String>>
A list of VPC subnet IDs for the cache subnet 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<CreateCacheSubnetGroupInput, BuildError>
pub fn build(self) -> Result<CreateCacheSubnetGroupInput, BuildError>
Consumes the builder and constructs a CreateCacheSubnetGroupInput
.
source§impl CreateCacheSubnetGroupInputBuilder
impl CreateCacheSubnetGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateCacheSubnetGroupOutput, SdkError<CreateCacheSubnetGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateCacheSubnetGroupOutput, SdkError<CreateCacheSubnetGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateCacheSubnetGroupInputBuilder
impl Clone for CreateCacheSubnetGroupInputBuilder
source§fn clone(&self) -> CreateCacheSubnetGroupInputBuilder
fn clone(&self) -> CreateCacheSubnetGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateCacheSubnetGroupInputBuilder
impl Default for CreateCacheSubnetGroupInputBuilder
source§fn default() -> CreateCacheSubnetGroupInputBuilder
fn default() -> CreateCacheSubnetGroupInputBuilder
source§impl PartialEq for CreateCacheSubnetGroupInputBuilder
impl PartialEq for CreateCacheSubnetGroupInputBuilder
source§fn eq(&self, other: &CreateCacheSubnetGroupInputBuilder) -> bool
fn eq(&self, other: &CreateCacheSubnetGroupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.