#[non_exhaustive]pub struct LocalGatewayVirtualInterfaceGroup { /* private fields */ }
Expand description
Describes a local gateway virtual interface group.
Implementations§
source§impl LocalGatewayVirtualInterfaceGroup
impl LocalGatewayVirtualInterfaceGroup
sourcepub fn local_gateway_virtual_interface_group_id(&self) -> Option<&str>
pub fn local_gateway_virtual_interface_group_id(&self) -> Option<&str>
The ID of the virtual interface group.
sourcepub fn local_gateway_virtual_interface_ids(&self) -> Option<&[String]>
pub fn local_gateway_virtual_interface_ids(&self) -> Option<&[String]>
The IDs of the virtual interfaces.
sourcepub fn local_gateway_id(&self) -> Option<&str>
pub fn local_gateway_id(&self) -> Option<&str>
The ID of the local gateway.
sourcepub fn owner_id(&self) -> Option<&str>
pub fn owner_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that owns the local gateway virtual interface group.
The tags assigned to the virtual interface group.
source§impl LocalGatewayVirtualInterfaceGroup
impl LocalGatewayVirtualInterfaceGroup
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LocalGatewayVirtualInterfaceGroup
.
Examples found in repository?
src/xml_deser.rs (line 47826)
47821 47822 47823 47824 47825 47826 47827 47828 47829 47830 47831 47832 47833 47834 47835 47836 47837 47838 47839 47840 47841 47842 47843 47844 47845 47846 47847 47848 47849 47850 47851 47852 47853 47854 47855 47856 47857 47858 47859 47860 47861 47862 47863 47864 47865 47866 47867 47868 47869 47870 47871 47872 47873 47874 47875 47876 47877 47878 47879 47880 47881 47882 47883 47884 47885 47886 47887 47888 47889 47890 47891 47892
pub fn deser_structure_crate_model_local_gateway_virtual_interface_group(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::LocalGatewayVirtualInterfaceGroup, aws_smithy_xml::decode::XmlDecodeError>
{
#[allow(unused_mut)]
let mut builder = crate::model::LocalGatewayVirtualInterfaceGroup::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("localGatewayVirtualInterfaceGroupId") /* LocalGatewayVirtualInterfaceGroupId com.amazonaws.ec2#LocalGatewayVirtualInterfaceGroup$LocalGatewayVirtualInterfaceGroupId */ => {
let var_2191 =
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_local_gateway_virtual_interface_group_id(var_2191);
}
,
s if s.matches("localGatewayVirtualInterfaceIdSet") /* LocalGatewayVirtualInterfaceIds com.amazonaws.ec2#LocalGatewayVirtualInterfaceGroup$LocalGatewayVirtualInterfaceIds */ => {
let var_2192 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_local_gateway_virtual_interface_id_set(&mut tag)
?
)
;
builder = builder.set_local_gateway_virtual_interface_ids(var_2192);
}
,
s if s.matches("localGatewayId") /* LocalGatewayId com.amazonaws.ec2#LocalGatewayVirtualInterfaceGroup$LocalGatewayId */ => {
let var_2193 =
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_local_gateway_id(var_2193);
}
,
s if s.matches("ownerId") /* OwnerId com.amazonaws.ec2#LocalGatewayVirtualInterfaceGroup$OwnerId */ => {
let var_2194 =
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_owner_id(var_2194);
}
,
s if s.matches("tagSet") /* Tags com.amazonaws.ec2#LocalGatewayVirtualInterfaceGroup$Tags */ => {
let var_2195 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_tag_list(&mut tag)
?
)
;
builder = builder.set_tags(var_2195);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for LocalGatewayVirtualInterfaceGroup
impl Clone for LocalGatewayVirtualInterfaceGroup
source§fn clone(&self) -> LocalGatewayVirtualInterfaceGroup
fn clone(&self) -> LocalGatewayVirtualInterfaceGroup
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