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 ==
.impl StructuralPartialEq for CreateCacheSecurityGroupInputBuilder
Auto Trait Implementations§
impl Freeze for CreateCacheSecurityGroupInputBuilder
impl RefUnwindSafe for CreateCacheSecurityGroupInputBuilder
impl Send for CreateCacheSecurityGroupInputBuilder
impl Sync for CreateCacheSecurityGroupInputBuilder
impl Unpin for CreateCacheSecurityGroupInputBuilder
impl UnwindSafe for CreateCacheSecurityGroupInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more