Struct aws_sdk_elasticache::model::SubnetOutpost
source · #[non_exhaustive]pub struct SubnetOutpost { /* private fields */ }
Expand description
The ID of the outpost subnet.
Implementations§
source§impl SubnetOutpost
impl SubnetOutpost
sourcepub fn subnet_outpost_arn(&self) -> Option<&str>
pub fn subnet_outpost_arn(&self) -> Option<&str>
The outpost ARN of the subnet.
source§impl SubnetOutpost
impl SubnetOutpost
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SubnetOutpost
.
Examples found in repository?
src/xml_deser.rs (line 11738)
11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758
pub fn deser_structure_crate_model_subnet_outpost(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::SubnetOutpost, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::SubnetOutpost::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("SubnetOutpostArn") /* SubnetOutpostArn com.amazonaws.elasticache#SubnetOutpost$SubnetOutpostArn */ => {
let var_506 =
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_subnet_outpost_arn(var_506);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for SubnetOutpost
impl Clone for SubnetOutpost
source§fn clone(&self) -> SubnetOutpost
fn clone(&self) -> SubnetOutpost
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