#[non_exhaustive]pub struct ModifyServerlessCacheInput {
pub serverless_cache_name: Option<String>,
pub description: Option<String>,
pub cache_usage_limits: Option<CacheUsageLimits>,
pub remove_user_group: Option<bool>,
pub user_group_id: Option<String>,
pub security_group_ids: Option<Vec<String>>,
pub snapshot_retention_limit: Option<i32>,
pub daily_snapshot_time: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.serverless_cache_name: Option<String>
User-provided identifier for the serverless cache to be modified.
description: Option<String>
User provided description for the serverless cache. Default = NULL, i.e. the existing description is not removed/modified. The description has a maximum length of 255 characters.
cache_usage_limits: Option<CacheUsageLimits>
Modify the cache usage limit for the serverless cache.
remove_user_group: Option<bool>
The identifier of the UserGroup to be removed from association with the Redis serverless cache. Available for Redis only. Default is NULL.
user_group_id: Option<String>
The identifier of the UserGroup to be associated with the serverless cache. Available for Redis only. Default is NULL - the existing UserGroup is not removed.
security_group_ids: Option<Vec<String>>
The new list of VPC security groups to be associated with the serverless cache. Populating this list means the current VPC security groups will be removed. This security group is used to authorize traffic access for the VPC end-point (private-link). Default = NULL - the existing list of VPC security groups is not removed.
snapshot_retention_limit: Option<i32>
The number of days for which Elasticache retains automatic snapshots before deleting them. Available for Redis only. Default = NULL, i.e. the existing snapshot-retention-limit will not be removed or modified. The maximum value allowed is 35 days.
daily_snapshot_time: Option<String>
The daily time during which Elasticache begins taking a daily snapshot of the serverless cache. Available for Redis only. The default is NULL, i.e. the existing snapshot time configured for the cluster is not removed.
Implementations§
source§impl ModifyServerlessCacheInput
impl ModifyServerlessCacheInput
sourcepub fn serverless_cache_name(&self) -> Option<&str>
pub fn serverless_cache_name(&self) -> Option<&str>
User-provided identifier for the serverless cache to be modified.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
User provided description for the serverless cache. Default = NULL, i.e. the existing description is not removed/modified. The description has a maximum length of 255 characters.
sourcepub fn cache_usage_limits(&self) -> Option<&CacheUsageLimits>
pub fn cache_usage_limits(&self) -> Option<&CacheUsageLimits>
Modify the cache usage limit for the serverless cache.
sourcepub fn remove_user_group(&self) -> Option<bool>
pub fn remove_user_group(&self) -> Option<bool>
The identifier of the UserGroup to be removed from association with the Redis serverless cache. Available for Redis only. Default is NULL.
sourcepub fn user_group_id(&self) -> Option<&str>
pub fn user_group_id(&self) -> Option<&str>
The identifier of the UserGroup to be associated with the serverless cache. Available for Redis only. Default is NULL - the existing UserGroup is not removed.
sourcepub fn security_group_ids(&self) -> &[String]
pub fn security_group_ids(&self) -> &[String]
The new list of VPC security groups to be associated with the serverless cache. Populating this list means the current VPC security groups will be removed. This security group is used to authorize traffic access for the VPC end-point (private-link). Default = NULL - the existing list of VPC security groups is not removed.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .security_group_ids.is_none()
.
sourcepub fn snapshot_retention_limit(&self) -> Option<i32>
pub fn snapshot_retention_limit(&self) -> Option<i32>
The number of days for which Elasticache retains automatic snapshots before deleting them. Available for Redis only. Default = NULL, i.e. the existing snapshot-retention-limit will not be removed or modified. The maximum value allowed is 35 days.
sourcepub fn daily_snapshot_time(&self) -> Option<&str>
pub fn daily_snapshot_time(&self) -> Option<&str>
The daily time during which Elasticache begins taking a daily snapshot of the serverless cache. Available for Redis only. The default is NULL, i.e. the existing snapshot time configured for the cluster is not removed.
source§impl ModifyServerlessCacheInput
impl ModifyServerlessCacheInput
sourcepub fn builder() -> ModifyServerlessCacheInputBuilder
pub fn builder() -> ModifyServerlessCacheInputBuilder
Creates a new builder-style object to manufacture ModifyServerlessCacheInput
.
Trait Implementations§
source§impl Clone for ModifyServerlessCacheInput
impl Clone for ModifyServerlessCacheInput
source§fn clone(&self) -> ModifyServerlessCacheInput
fn clone(&self) -> ModifyServerlessCacheInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ModifyServerlessCacheInput
impl Debug for ModifyServerlessCacheInput
source§impl PartialEq for ModifyServerlessCacheInput
impl PartialEq for ModifyServerlessCacheInput
source§fn eq(&self, other: &ModifyServerlessCacheInput) -> bool
fn eq(&self, other: &ModifyServerlessCacheInput) -> bool
self
and other
values to be equal, and is used
by ==
.