Struct aws_sdk_elasticache::model::NodeGroupUpdateStatus
source · #[non_exhaustive]pub struct NodeGroupUpdateStatus { /* private fields */ }
Expand description
The status of the service update on the node group
Implementations§
source§impl NodeGroupUpdateStatus
impl NodeGroupUpdateStatus
sourcepub fn node_group_id(&self) -> Option<&str>
pub fn node_group_id(&self) -> Option<&str>
The ID of the node group
sourcepub fn node_group_member_update_status(
&self
) -> Option<&[NodeGroupMemberUpdateStatus]>
pub fn node_group_member_update_status(
&self
) -> Option<&[NodeGroupMemberUpdateStatus]>
The status of the service update on the node group member
source§impl NodeGroupUpdateStatus
impl NodeGroupUpdateStatus
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NodeGroupUpdateStatus
.
Examples found in repository?
src/xml_deser.rs (line 11803)
11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833
pub fn deser_structure_crate_model_node_group_update_status(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::NodeGroupUpdateStatus, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::NodeGroupUpdateStatus::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("NodeGroupId") /* NodeGroupId com.amazonaws.elasticache#NodeGroupUpdateStatus$NodeGroupId */ => {
let var_509 =
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_node_group_id(var_509);
}
,
s if s.matches("NodeGroupMemberUpdateStatus") /* NodeGroupMemberUpdateStatus com.amazonaws.elasticache#NodeGroupUpdateStatus$NodeGroupMemberUpdateStatus */ => {
let var_510 =
Some(
crate::xml_deser::deser_list_com_amazonaws_elasticache_node_group_member_update_status_list(&mut tag)
?
)
;
builder = builder.set_node_group_member_update_status(var_510);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for NodeGroupUpdateStatus
impl Clone for NodeGroupUpdateStatus
source§fn clone(&self) -> NodeGroupUpdateStatus
fn clone(&self) -> NodeGroupUpdateStatus
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