#[non_exhaustive]pub struct CacheParameterGroupStatus { /* private fields */ }
Expand description
Status of the cache parameter group.
Implementations§
source§impl CacheParameterGroupStatus
impl CacheParameterGroupStatus
sourcepub fn cache_parameter_group_name(&self) -> Option<&str>
pub fn cache_parameter_group_name(&self) -> Option<&str>
The name of the cache parameter group.
sourcepub fn parameter_apply_status(&self) -> Option<&str>
pub fn parameter_apply_status(&self) -> Option<&str>
The status of parameter updates.
sourcepub fn cache_node_ids_to_reboot(&self) -> Option<&[String]>
pub fn cache_node_ids_to_reboot(&self) -> Option<&[String]>
A list of the cache node IDs which need to be rebooted for parameter changes to be applied. A node ID is a numeric identifier (0001, 0002, etc.).
source§impl CacheParameterGroupStatus
impl CacheParameterGroupStatus
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CacheParameterGroupStatus
.
Examples found in repository?
src/xml_deser.rs (line 9231)
9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274
pub fn deser_structure_crate_model_cache_parameter_group_status(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::CacheParameterGroupStatus, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::CacheParameterGroupStatus::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("CacheParameterGroupName") /* CacheParameterGroupName com.amazonaws.elasticache#CacheParameterGroupStatus$CacheParameterGroupName */ => {
let var_358 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_cache_parameter_group_name(var_358);
}
,
s if s.matches("ParameterApplyStatus") /* ParameterApplyStatus com.amazonaws.elasticache#CacheParameterGroupStatus$ParameterApplyStatus */ => {
let var_359 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_parameter_apply_status(var_359);
}
,
s if s.matches("CacheNodeIdsToReboot") /* CacheNodeIdsToReboot com.amazonaws.elasticache#CacheParameterGroupStatus$CacheNodeIdsToReboot */ => {
let var_360 =
Some(
crate::xml_deser::deser_list_com_amazonaws_elasticache_cache_node_ids_list(&mut tag)
?
)
;
builder = builder.set_cache_node_ids_to_reboot(var_360);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for CacheParameterGroupStatus
impl Clone for CacheParameterGroupStatus
source§fn clone(&self) -> CacheParameterGroupStatus
fn clone(&self) -> CacheParameterGroupStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more