Struct aws_sdk_elasticache::operation::describe_cache_engine_versions::DescribeCacheEngineVersionsInput
source · #[non_exhaustive]pub struct DescribeCacheEngineVersionsInput {
pub engine: Option<String>,
pub engine_version: Option<String>,
pub cache_parameter_group_family: Option<String>,
pub max_records: Option<i32>,
pub marker: Option<String>,
pub default_only: Option<bool>,
}
Expand description
Represents the input of a DescribeCacheEngineVersions
operation.
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.engine: Option<String>
The cache engine to return. Valid values: memcached
| redis
engine_version: Option<String>
The cache engine version to return.
Example: 1.4.14
cache_parameter_group_family: Option<String>
The name of a specific cache parameter group family to return details for.
Valid values are: memcached1.4
| memcached1.5
| memcached1.6
| redis2.6
| redis2.8
| redis3.2
| redis4.0
| redis5.0
| redis6.x
| redis6.2
| redis7
Constraints:
-
Must be 1 to 255 alphanumeric characters
-
First character must be a letter
-
Cannot end with a hyphen or contain two consecutive hyphens
max_records: Option<i32>
The maximum number of records to include in the response. If more records exist than the specified MaxRecords
value, a marker is included in the response so that the remaining results can be retrieved.
Default: 100
Constraints: minimum 20; maximum 100.
marker: Option<String>
An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.
default_only: Option<bool>
If true
, specifies that only the default version of the specified engine or engine and major version combination is to be returned.
Implementations§
source§impl DescribeCacheEngineVersionsInput
impl DescribeCacheEngineVersionsInput
sourcepub fn engine(&self) -> Option<&str>
pub fn engine(&self) -> Option<&str>
The cache engine to return. Valid values: memcached
| redis
sourcepub fn engine_version(&self) -> Option<&str>
pub fn engine_version(&self) -> Option<&str>
The cache engine version to return.
Example: 1.4.14
sourcepub fn cache_parameter_group_family(&self) -> Option<&str>
pub fn cache_parameter_group_family(&self) -> Option<&str>
The name of a specific cache parameter group family to return details for.
Valid values are: memcached1.4
| memcached1.5
| memcached1.6
| redis2.6
| redis2.8
| redis3.2
| redis4.0
| redis5.0
| redis6.x
| redis6.2
| redis7
Constraints:
-
Must be 1 to 255 alphanumeric characters
-
First character must be a letter
-
Cannot end with a hyphen or contain two consecutive hyphens
sourcepub fn max_records(&self) -> Option<i32>
pub fn max_records(&self) -> Option<i32>
The maximum number of records to include in the response. If more records exist than the specified MaxRecords
value, a marker is included in the response so that the remaining results can be retrieved.
Default: 100
Constraints: minimum 20; maximum 100.
sourcepub fn marker(&self) -> Option<&str>
pub fn marker(&self) -> Option<&str>
An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.
sourcepub fn default_only(&self) -> Option<bool>
pub fn default_only(&self) -> Option<bool>
If true
, specifies that only the default version of the specified engine or engine and major version combination is to be returned.
source§impl DescribeCacheEngineVersionsInput
impl DescribeCacheEngineVersionsInput
sourcepub fn builder() -> DescribeCacheEngineVersionsInputBuilder
pub fn builder() -> DescribeCacheEngineVersionsInputBuilder
Creates a new builder-style object to manufacture DescribeCacheEngineVersionsInput
.
Trait Implementations§
source§impl Clone for DescribeCacheEngineVersionsInput
impl Clone for DescribeCacheEngineVersionsInput
source§fn clone(&self) -> DescribeCacheEngineVersionsInput
fn clone(&self) -> DescribeCacheEngineVersionsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DescribeCacheEngineVersionsInput
impl PartialEq for DescribeCacheEngineVersionsInput
source§fn eq(&self, other: &DescribeCacheEngineVersionsInput) -> bool
fn eq(&self, other: &DescribeCacheEngineVersionsInput) -> bool
self
and other
values to be equal, and is used
by ==
.