pub struct Builder { /* private fields */ }
Expand description

A builder for NetworkAcl.

Implementations§

Appends an item to associations.

To override the contents of this collection use set_associations.

Any associations between the network ACL and one or more subnets

Any associations between the network ACL and one or more subnets

Examples found in repository?
src/xml_deser.rs (line 28817)
28803
28804
28805
28806
28807
28808
28809
28810
28811
28812
28813
28814
28815
28816
28817
28818
28819
28820
28821
28822
28823
28824
28825
28826
28827
28828
28829
28830
28831
28832
28833
28834
28835
28836
28837
28838
28839
28840
28841
28842
28843
28844
28845
28846
28847
28848
28849
28850
28851
28852
28853
28854
28855
28856
28857
28858
28859
28860
28861
28862
28863
28864
28865
28866
28867
28868
28869
28870
28871
28872
28873
28874
28875
28876
28877
28878
28879
28880
28881
28882
28883
28884
28885
28886
28887
28888
28889
28890
28891
28892
28893
28894
28895
28896
28897
28898
pub fn deser_structure_crate_model_network_acl(
    decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::NetworkAcl, aws_smithy_xml::decode::XmlDecodeError> {
    #[allow(unused_mut)]
    let mut builder = crate::model::NetworkAcl::builder();
    while let Some(mut tag) = decoder.next_tag() {
        match tag.start_el() {
            s if s.matches("associationSet") /* Associations com.amazonaws.ec2#NetworkAcl$Associations */ =>  {
                let var_1206 =
                    Some(
                        crate::xml_deser::deser_list_com_amazonaws_ec2_network_acl_association_list(&mut tag)
                        ?
                    )
                ;
                builder = builder.set_associations(var_1206);
            }
            ,
            s if s.matches("entrySet") /* Entries com.amazonaws.ec2#NetworkAcl$Entries */ =>  {
                let var_1207 =
                    Some(
                        crate::xml_deser::deser_list_com_amazonaws_ec2_network_acl_entry_list(&mut tag)
                        ?
                    )
                ;
                builder = builder.set_entries(var_1207);
            }
            ,
            s if s.matches("default") /* IsDefault com.amazonaws.ec2#NetworkAcl$IsDefault */ =>  {
                let var_1208 =
                    Some(
                         {
                            <bool as aws_smithy_types::primitive::Parse>::parse_smithy_primitive(
                                aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
                            )
                            .map_err(|_|aws_smithy_xml::decode::XmlDecodeError::custom("expected (boolean: `com.amazonaws.ec2#Boolean`)"))
                        }
                        ?
                    )
                ;
                builder = builder.set_is_default(var_1208);
            }
            ,
            s if s.matches("networkAclId") /* NetworkAclId com.amazonaws.ec2#NetworkAcl$NetworkAclId */ =>  {
                let var_1209 =
                    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_network_acl_id(var_1209);
            }
            ,
            s if s.matches("tagSet") /* Tags com.amazonaws.ec2#NetworkAcl$Tags */ =>  {
                let var_1210 =
                    Some(
                        crate::xml_deser::deser_list_com_amazonaws_ec2_tag_list(&mut tag)
                        ?
                    )
                ;
                builder = builder.set_tags(var_1210);
            }
            ,
            s if s.matches("vpcId") /* VpcId com.amazonaws.ec2#NetworkAcl$VpcId */ =>  {
                let var_1211 =
                    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_vpc_id(var_1211);
            }
            ,
            s if s.matches("ownerId") /* OwnerId com.amazonaws.ec2#NetworkAcl$OwnerId */ =>  {
                let var_1212 =
                    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_1212);
            }
            ,
            _ => {}
        }
    }
    Ok(builder.build())
}

Appends an item to entries.

To override the contents of this collection use set_entries.

One or more entries (rules) in the network ACL.

One or more entries (rules) in the network ACL.

Examples found in repository?
src/xml_deser.rs (line 28827)
28803
28804
28805
28806
28807
28808
28809
28810
28811
28812
28813
28814
28815
28816
28817
28818
28819
28820
28821
28822
28823
28824
28825
28826
28827
28828
28829
28830
28831
28832
28833
28834
28835
28836
28837
28838
28839
28840
28841
28842
28843
28844
28845
28846
28847
28848
28849
28850
28851
28852
28853
28854
28855
28856
28857
28858
28859
28860
28861
28862
28863
28864
28865
28866
28867
28868
28869
28870
28871
28872
28873
28874
28875
28876
28877
28878
28879
28880
28881
28882
28883
28884
28885
28886
28887
28888
28889
28890
28891
28892
28893
28894
28895
28896
28897
28898
pub fn deser_structure_crate_model_network_acl(
    decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::NetworkAcl, aws_smithy_xml::decode::XmlDecodeError> {
    #[allow(unused_mut)]
    let mut builder = crate::model::NetworkAcl::builder();
    while let Some(mut tag) = decoder.next_tag() {
        match tag.start_el() {
            s if s.matches("associationSet") /* Associations com.amazonaws.ec2#NetworkAcl$Associations */ =>  {
                let var_1206 =
                    Some(
                        crate::xml_deser::deser_list_com_amazonaws_ec2_network_acl_association_list(&mut tag)
                        ?
                    )
                ;
                builder = builder.set_associations(var_1206);
            }
            ,
            s if s.matches("entrySet") /* Entries com.amazonaws.ec2#NetworkAcl$Entries */ =>  {
                let var_1207 =
                    Some(
                        crate::xml_deser::deser_list_com_amazonaws_ec2_network_acl_entry_list(&mut tag)
                        ?
                    )
                ;
                builder = builder.set_entries(var_1207);
            }
            ,
            s if s.matches("default") /* IsDefault com.amazonaws.ec2#NetworkAcl$IsDefault */ =>  {
                let var_1208 =
                    Some(
                         {
                            <bool as aws_smithy_types::primitive::Parse>::parse_smithy_primitive(
                                aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
                            )
                            .map_err(|_|aws_smithy_xml::decode::XmlDecodeError::custom("expected (boolean: `com.amazonaws.ec2#Boolean`)"))
                        }
                        ?
                    )
                ;
                builder = builder.set_is_default(var_1208);
            }
            ,
            s if s.matches("networkAclId") /* NetworkAclId com.amazonaws.ec2#NetworkAcl$NetworkAclId */ =>  {
                let var_1209 =
                    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_network_acl_id(var_1209);
            }
            ,
            s if s.matches("tagSet") /* Tags com.amazonaws.ec2#NetworkAcl$Tags */ =>  {
                let var_1210 =
                    Some(
                        crate::xml_deser::deser_list_com_amazonaws_ec2_tag_list(&mut tag)
                        ?
                    )
                ;
                builder = builder.set_tags(var_1210);
            }
            ,
            s if s.matches("vpcId") /* VpcId com.amazonaws.ec2#NetworkAcl$VpcId */ =>  {
                let var_1211 =
                    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_vpc_id(var_1211);
            }
            ,
            s if s.matches("ownerId") /* OwnerId com.amazonaws.ec2#NetworkAcl$OwnerId */ =>  {
                let var_1212 =
                    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_1212);
            }
            ,
            _ => {}
        }
    }
    Ok(builder.build())
}

Indicates whether this is the default network ACL for the VPC.

Indicates whether this is the default network ACL for the VPC.

Examples found in repository?
src/xml_deser.rs (line 28842)
28803
28804
28805
28806
28807
28808
28809
28810
28811
28812
28813
28814
28815
28816
28817
28818
28819
28820
28821
28822
28823
28824
28825
28826
28827
28828
28829
28830
28831
28832
28833
28834
28835
28836
28837
28838
28839
28840
28841
28842
28843
28844
28845
28846
28847
28848
28849
28850
28851
28852
28853
28854
28855
28856
28857
28858
28859
28860
28861
28862
28863
28864
28865
28866
28867
28868
28869
28870
28871
28872
28873
28874
28875
28876
28877
28878
28879
28880
28881
28882
28883
28884
28885
28886
28887
28888
28889
28890
28891
28892
28893
28894
28895
28896
28897
28898
pub fn deser_structure_crate_model_network_acl(
    decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::NetworkAcl, aws_smithy_xml::decode::XmlDecodeError> {
    #[allow(unused_mut)]
    let mut builder = crate::model::NetworkAcl::builder();
    while let Some(mut tag) = decoder.next_tag() {
        match tag.start_el() {
            s if s.matches("associationSet") /* Associations com.amazonaws.ec2#NetworkAcl$Associations */ =>  {
                let var_1206 =
                    Some(
                        crate::xml_deser::deser_list_com_amazonaws_ec2_network_acl_association_list(&mut tag)
                        ?
                    )
                ;
                builder = builder.set_associations(var_1206);
            }
            ,
            s if s.matches("entrySet") /* Entries com.amazonaws.ec2#NetworkAcl$Entries */ =>  {
                let var_1207 =
                    Some(
                        crate::xml_deser::deser_list_com_amazonaws_ec2_network_acl_entry_list(&mut tag)
                        ?
                    )
                ;
                builder = builder.set_entries(var_1207);
            }
            ,
            s if s.matches("default") /* IsDefault com.amazonaws.ec2#NetworkAcl$IsDefault */ =>  {
                let var_1208 =
                    Some(
                         {
                            <bool as aws_smithy_types::primitive::Parse>::parse_smithy_primitive(
                                aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
                            )
                            .map_err(|_|aws_smithy_xml::decode::XmlDecodeError::custom("expected (boolean: `com.amazonaws.ec2#Boolean`)"))
                        }
                        ?
                    )
                ;
                builder = builder.set_is_default(var_1208);
            }
            ,
            s if s.matches("networkAclId") /* NetworkAclId com.amazonaws.ec2#NetworkAcl$NetworkAclId */ =>  {
                let var_1209 =
                    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_network_acl_id(var_1209);
            }
            ,
            s if s.matches("tagSet") /* Tags com.amazonaws.ec2#NetworkAcl$Tags */ =>  {
                let var_1210 =
                    Some(
                        crate::xml_deser::deser_list_com_amazonaws_ec2_tag_list(&mut tag)
                        ?
                    )
                ;
                builder = builder.set_tags(var_1210);
            }
            ,
            s if s.matches("vpcId") /* VpcId com.amazonaws.ec2#NetworkAcl$VpcId */ =>  {
                let var_1211 =
                    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_vpc_id(var_1211);
            }
            ,
            s if s.matches("ownerId") /* OwnerId com.amazonaws.ec2#NetworkAcl$OwnerId */ =>  {
                let var_1212 =
                    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_1212);
            }
            ,
            _ => {}
        }
    }
    Ok(builder.build())
}

The ID of the network ACL.

The ID of the network ACL.

Examples found in repository?
src/xml_deser.rs (line 28855)
28803
28804
28805
28806
28807
28808
28809
28810
28811
28812
28813
28814
28815
28816
28817
28818
28819
28820
28821
28822
28823
28824
28825
28826
28827
28828
28829
28830
28831
28832
28833
28834
28835
28836
28837
28838
28839
28840
28841
28842
28843
28844
28845
28846
28847
28848
28849
28850
28851
28852
28853
28854
28855
28856
28857
28858
28859
28860
28861
28862
28863
28864
28865
28866
28867
28868
28869
28870
28871
28872
28873
28874
28875
28876
28877
28878
28879
28880
28881
28882
28883
28884
28885
28886
28887
28888
28889
28890
28891
28892
28893
28894
28895
28896
28897
28898
pub fn deser_structure_crate_model_network_acl(
    decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::NetworkAcl, aws_smithy_xml::decode::XmlDecodeError> {
    #[allow(unused_mut)]
    let mut builder = crate::model::NetworkAcl::builder();
    while let Some(mut tag) = decoder.next_tag() {
        match tag.start_el() {
            s if s.matches("associationSet") /* Associations com.amazonaws.ec2#NetworkAcl$Associations */ =>  {
                let var_1206 =
                    Some(
                        crate::xml_deser::deser_list_com_amazonaws_ec2_network_acl_association_list(&mut tag)
                        ?
                    )
                ;
                builder = builder.set_associations(var_1206);
            }
            ,
            s if s.matches("entrySet") /* Entries com.amazonaws.ec2#NetworkAcl$Entries */ =>  {
                let var_1207 =
                    Some(
                        crate::xml_deser::deser_list_com_amazonaws_ec2_network_acl_entry_list(&mut tag)
                        ?
                    )
                ;
                builder = builder.set_entries(var_1207);
            }
            ,
            s if s.matches("default") /* IsDefault com.amazonaws.ec2#NetworkAcl$IsDefault */ =>  {
                let var_1208 =
                    Some(
                         {
                            <bool as aws_smithy_types::primitive::Parse>::parse_smithy_primitive(
                                aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
                            )
                            .map_err(|_|aws_smithy_xml::decode::XmlDecodeError::custom("expected (boolean: `com.amazonaws.ec2#Boolean`)"))
                        }
                        ?
                    )
                ;
                builder = builder.set_is_default(var_1208);
            }
            ,
            s if s.matches("networkAclId") /* NetworkAclId com.amazonaws.ec2#NetworkAcl$NetworkAclId */ =>  {
                let var_1209 =
                    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_network_acl_id(var_1209);
            }
            ,
            s if s.matches("tagSet") /* Tags com.amazonaws.ec2#NetworkAcl$Tags */ =>  {
                let var_1210 =
                    Some(
                        crate::xml_deser::deser_list_com_amazonaws_ec2_tag_list(&mut tag)
                        ?
                    )
                ;
                builder = builder.set_tags(var_1210);
            }
            ,
            s if s.matches("vpcId") /* VpcId com.amazonaws.ec2#NetworkAcl$VpcId */ =>  {
                let var_1211 =
                    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_vpc_id(var_1211);
            }
            ,
            s if s.matches("ownerId") /* OwnerId com.amazonaws.ec2#NetworkAcl$OwnerId */ =>  {
                let var_1212 =
                    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_1212);
            }
            ,
            _ => {}
        }
    }
    Ok(builder.build())
}

Appends an item to tags.

To override the contents of this collection use set_tags.

Any tags assigned to the network ACL.

Any tags assigned to the network ACL.

Examples found in repository?
src/xml_deser.rs (line 28865)
28803
28804
28805
28806
28807
28808
28809
28810
28811
28812
28813
28814
28815
28816
28817
28818
28819
28820
28821
28822
28823
28824
28825
28826
28827
28828
28829
28830
28831
28832
28833
28834
28835
28836
28837
28838
28839
28840
28841
28842
28843
28844
28845
28846
28847
28848
28849
28850
28851
28852
28853
28854
28855
28856
28857
28858
28859
28860
28861
28862
28863
28864
28865
28866
28867
28868
28869
28870
28871
28872
28873
28874
28875
28876
28877
28878
28879
28880
28881
28882
28883
28884
28885
28886
28887
28888
28889
28890
28891
28892
28893
28894
28895
28896
28897
28898
pub fn deser_structure_crate_model_network_acl(
    decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::NetworkAcl, aws_smithy_xml::decode::XmlDecodeError> {
    #[allow(unused_mut)]
    let mut builder = crate::model::NetworkAcl::builder();
    while let Some(mut tag) = decoder.next_tag() {
        match tag.start_el() {
            s if s.matches("associationSet") /* Associations com.amazonaws.ec2#NetworkAcl$Associations */ =>  {
                let var_1206 =
                    Some(
                        crate::xml_deser::deser_list_com_amazonaws_ec2_network_acl_association_list(&mut tag)
                        ?
                    )
                ;
                builder = builder.set_associations(var_1206);
            }
            ,
            s if s.matches("entrySet") /* Entries com.amazonaws.ec2#NetworkAcl$Entries */ =>  {
                let var_1207 =
                    Some(
                        crate::xml_deser::deser_list_com_amazonaws_ec2_network_acl_entry_list(&mut tag)
                        ?
                    )
                ;
                builder = builder.set_entries(var_1207);
            }
            ,
            s if s.matches("default") /* IsDefault com.amazonaws.ec2#NetworkAcl$IsDefault */ =>  {
                let var_1208 =
                    Some(
                         {
                            <bool as aws_smithy_types::primitive::Parse>::parse_smithy_primitive(
                                aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
                            )
                            .map_err(|_|aws_smithy_xml::decode::XmlDecodeError::custom("expected (boolean: `com.amazonaws.ec2#Boolean`)"))
                        }
                        ?
                    )
                ;
                builder = builder.set_is_default(var_1208);
            }
            ,
            s if s.matches("networkAclId") /* NetworkAclId com.amazonaws.ec2#NetworkAcl$NetworkAclId */ =>  {
                let var_1209 =
                    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_network_acl_id(var_1209);
            }
            ,
            s if s.matches("tagSet") /* Tags com.amazonaws.ec2#NetworkAcl$Tags */ =>  {
                let var_1210 =
                    Some(
                        crate::xml_deser::deser_list_com_amazonaws_ec2_tag_list(&mut tag)
                        ?
                    )
                ;
                builder = builder.set_tags(var_1210);
            }
            ,
            s if s.matches("vpcId") /* VpcId com.amazonaws.ec2#NetworkAcl$VpcId */ =>  {
                let var_1211 =
                    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_vpc_id(var_1211);
            }
            ,
            s if s.matches("ownerId") /* OwnerId com.amazonaws.ec2#NetworkAcl$OwnerId */ =>  {
                let var_1212 =
                    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_1212);
            }
            ,
            _ => {}
        }
    }
    Ok(builder.build())
}

The ID of the VPC for the network ACL.

The ID of the VPC for the network ACL.

Examples found in repository?
src/xml_deser.rs (line 28878)
28803
28804
28805
28806
28807
28808
28809
28810
28811
28812
28813
28814
28815
28816
28817
28818
28819
28820
28821
28822
28823
28824
28825
28826
28827
28828
28829
28830
28831
28832
28833
28834
28835
28836
28837
28838
28839
28840
28841
28842
28843
28844
28845
28846
28847
28848
28849
28850
28851
28852
28853
28854
28855
28856
28857
28858
28859
28860
28861
28862
28863
28864
28865
28866
28867
28868
28869
28870
28871
28872
28873
28874
28875
28876
28877
28878
28879
28880
28881
28882
28883
28884
28885
28886
28887
28888
28889
28890
28891
28892
28893
28894
28895
28896
28897
28898
pub fn deser_structure_crate_model_network_acl(
    decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::NetworkAcl, aws_smithy_xml::decode::XmlDecodeError> {
    #[allow(unused_mut)]
    let mut builder = crate::model::NetworkAcl::builder();
    while let Some(mut tag) = decoder.next_tag() {
        match tag.start_el() {
            s if s.matches("associationSet") /* Associations com.amazonaws.ec2#NetworkAcl$Associations */ =>  {
                let var_1206 =
                    Some(
                        crate::xml_deser::deser_list_com_amazonaws_ec2_network_acl_association_list(&mut tag)
                        ?
                    )
                ;
                builder = builder.set_associations(var_1206);
            }
            ,
            s if s.matches("entrySet") /* Entries com.amazonaws.ec2#NetworkAcl$Entries */ =>  {
                let var_1207 =
                    Some(
                        crate::xml_deser::deser_list_com_amazonaws_ec2_network_acl_entry_list(&mut tag)
                        ?
                    )
                ;
                builder = builder.set_entries(var_1207);
            }
            ,
            s if s.matches("default") /* IsDefault com.amazonaws.ec2#NetworkAcl$IsDefault */ =>  {
                let var_1208 =
                    Some(
                         {
                            <bool as aws_smithy_types::primitive::Parse>::parse_smithy_primitive(
                                aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
                            )
                            .map_err(|_|aws_smithy_xml::decode::XmlDecodeError::custom("expected (boolean: `com.amazonaws.ec2#Boolean`)"))
                        }
                        ?
                    )
                ;
                builder = builder.set_is_default(var_1208);
            }
            ,
            s if s.matches("networkAclId") /* NetworkAclId com.amazonaws.ec2#NetworkAcl$NetworkAclId */ =>  {
                let var_1209 =
                    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_network_acl_id(var_1209);
            }
            ,
            s if s.matches("tagSet") /* Tags com.amazonaws.ec2#NetworkAcl$Tags */ =>  {
                let var_1210 =
                    Some(
                        crate::xml_deser::deser_list_com_amazonaws_ec2_tag_list(&mut tag)
                        ?
                    )
                ;
                builder = builder.set_tags(var_1210);
            }
            ,
            s if s.matches("vpcId") /* VpcId com.amazonaws.ec2#NetworkAcl$VpcId */ =>  {
                let var_1211 =
                    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_vpc_id(var_1211);
            }
            ,
            s if s.matches("ownerId") /* OwnerId com.amazonaws.ec2#NetworkAcl$OwnerId */ =>  {
                let var_1212 =
                    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_1212);
            }
            ,
            _ => {}
        }
    }
    Ok(builder.build())
}

The ID of the Amazon Web Services account that owns the network ACL.

The ID of the Amazon Web Services account that owns the network ACL.

Examples found in repository?
src/xml_deser.rs (line 28891)
28803
28804
28805
28806
28807
28808
28809
28810
28811
28812
28813
28814
28815
28816
28817
28818
28819
28820
28821
28822
28823
28824
28825
28826
28827
28828
28829
28830
28831
28832
28833
28834
28835
28836
28837
28838
28839
28840
28841
28842
28843
28844
28845
28846
28847
28848
28849
28850
28851
28852
28853
28854
28855
28856
28857
28858
28859
28860
28861
28862
28863
28864
28865
28866
28867
28868
28869
28870
28871
28872
28873
28874
28875
28876
28877
28878
28879
28880
28881
28882
28883
28884
28885
28886
28887
28888
28889
28890
28891
28892
28893
28894
28895
28896
28897
28898
pub fn deser_structure_crate_model_network_acl(
    decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::NetworkAcl, aws_smithy_xml::decode::XmlDecodeError> {
    #[allow(unused_mut)]
    let mut builder = crate::model::NetworkAcl::builder();
    while let Some(mut tag) = decoder.next_tag() {
        match tag.start_el() {
            s if s.matches("associationSet") /* Associations com.amazonaws.ec2#NetworkAcl$Associations */ =>  {
                let var_1206 =
                    Some(
                        crate::xml_deser::deser_list_com_amazonaws_ec2_network_acl_association_list(&mut tag)
                        ?
                    )
                ;
                builder = builder.set_associations(var_1206);
            }
            ,
            s if s.matches("entrySet") /* Entries com.amazonaws.ec2#NetworkAcl$Entries */ =>  {
                let var_1207 =
                    Some(
                        crate::xml_deser::deser_list_com_amazonaws_ec2_network_acl_entry_list(&mut tag)
                        ?
                    )
                ;
                builder = builder.set_entries(var_1207);
            }
            ,
            s if s.matches("default") /* IsDefault com.amazonaws.ec2#NetworkAcl$IsDefault */ =>  {
                let var_1208 =
                    Some(
                         {
                            <bool as aws_smithy_types::primitive::Parse>::parse_smithy_primitive(
                                aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
                            )
                            .map_err(|_|aws_smithy_xml::decode::XmlDecodeError::custom("expected (boolean: `com.amazonaws.ec2#Boolean`)"))
                        }
                        ?
                    )
                ;
                builder = builder.set_is_default(var_1208);
            }
            ,
            s if s.matches("networkAclId") /* NetworkAclId com.amazonaws.ec2#NetworkAcl$NetworkAclId */ =>  {
                let var_1209 =
                    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_network_acl_id(var_1209);
            }
            ,
            s if s.matches("tagSet") /* Tags com.amazonaws.ec2#NetworkAcl$Tags */ =>  {
                let var_1210 =
                    Some(
                        crate::xml_deser::deser_list_com_amazonaws_ec2_tag_list(&mut tag)
                        ?
                    )
                ;
                builder = builder.set_tags(var_1210);
            }
            ,
            s if s.matches("vpcId") /* VpcId com.amazonaws.ec2#NetworkAcl$VpcId */ =>  {
                let var_1211 =
                    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_vpc_id(var_1211);
            }
            ,
            s if s.matches("ownerId") /* OwnerId com.amazonaws.ec2#NetworkAcl$OwnerId */ =>  {
                let var_1212 =
                    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_1212);
            }
            ,
            _ => {}
        }
    }
    Ok(builder.build())
}

Consumes the builder and constructs a NetworkAcl.

Examples found in repository?
src/xml_deser.rs (line 28897)
28803
28804
28805
28806
28807
28808
28809
28810
28811
28812
28813
28814
28815
28816
28817
28818
28819
28820
28821
28822
28823
28824
28825
28826
28827
28828
28829
28830
28831
28832
28833
28834
28835
28836
28837
28838
28839
28840
28841
28842
28843
28844
28845
28846
28847
28848
28849
28850
28851
28852
28853
28854
28855
28856
28857
28858
28859
28860
28861
28862
28863
28864
28865
28866
28867
28868
28869
28870
28871
28872
28873
28874
28875
28876
28877
28878
28879
28880
28881
28882
28883
28884
28885
28886
28887
28888
28889
28890
28891
28892
28893
28894
28895
28896
28897
28898
pub fn deser_structure_crate_model_network_acl(
    decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::NetworkAcl, aws_smithy_xml::decode::XmlDecodeError> {
    #[allow(unused_mut)]
    let mut builder = crate::model::NetworkAcl::builder();
    while let Some(mut tag) = decoder.next_tag() {
        match tag.start_el() {
            s if s.matches("associationSet") /* Associations com.amazonaws.ec2#NetworkAcl$Associations */ =>  {
                let var_1206 =
                    Some(
                        crate::xml_deser::deser_list_com_amazonaws_ec2_network_acl_association_list(&mut tag)
                        ?
                    )
                ;
                builder = builder.set_associations(var_1206);
            }
            ,
            s if s.matches("entrySet") /* Entries com.amazonaws.ec2#NetworkAcl$Entries */ =>  {
                let var_1207 =
                    Some(
                        crate::xml_deser::deser_list_com_amazonaws_ec2_network_acl_entry_list(&mut tag)
                        ?
                    )
                ;
                builder = builder.set_entries(var_1207);
            }
            ,
            s if s.matches("default") /* IsDefault com.amazonaws.ec2#NetworkAcl$IsDefault */ =>  {
                let var_1208 =
                    Some(
                         {
                            <bool as aws_smithy_types::primitive::Parse>::parse_smithy_primitive(
                                aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
                            )
                            .map_err(|_|aws_smithy_xml::decode::XmlDecodeError::custom("expected (boolean: `com.amazonaws.ec2#Boolean`)"))
                        }
                        ?
                    )
                ;
                builder = builder.set_is_default(var_1208);
            }
            ,
            s if s.matches("networkAclId") /* NetworkAclId com.amazonaws.ec2#NetworkAcl$NetworkAclId */ =>  {
                let var_1209 =
                    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_network_acl_id(var_1209);
            }
            ,
            s if s.matches("tagSet") /* Tags com.amazonaws.ec2#NetworkAcl$Tags */ =>  {
                let var_1210 =
                    Some(
                        crate::xml_deser::deser_list_com_amazonaws_ec2_tag_list(&mut tag)
                        ?
                    )
                ;
                builder = builder.set_tags(var_1210);
            }
            ,
            s if s.matches("vpcId") /* VpcId com.amazonaws.ec2#NetworkAcl$VpcId */ =>  {
                let var_1211 =
                    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_vpc_id(var_1211);
            }
            ,
            s if s.matches("ownerId") /* OwnerId com.amazonaws.ec2#NetworkAcl$OwnerId */ =>  {
                let var_1212 =
                    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_1212);
            }
            ,
            _ => {}
        }
    }
    Ok(builder.build())
}

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more