Struct aws_sdk_ec2::model::PathComponent
source · #[non_exhaustive]pub struct PathComponent { /* private fields */ }
Expand description
Describes a path component.
Implementations§
source§impl PathComponent
impl PathComponent
sourcepub fn sequence_number(&self) -> Option<i32>
pub fn sequence_number(&self) -> Option<i32>
The sequence number.
sourcepub fn acl_rule(&self) -> Option<&AnalysisAclRule>
pub fn acl_rule(&self) -> Option<&AnalysisAclRule>
The network ACL rule.
sourcepub fn attached_to(&self) -> Option<&AnalysisComponent>
pub fn attached_to(&self) -> Option<&AnalysisComponent>
The resource to which the path component is attached.
sourcepub fn component(&self) -> Option<&AnalysisComponent>
pub fn component(&self) -> Option<&AnalysisComponent>
The component.
sourcepub fn destination_vpc(&self) -> Option<&AnalysisComponent>
pub fn destination_vpc(&self) -> Option<&AnalysisComponent>
The destination VPC.
sourcepub fn outbound_header(&self) -> Option<&AnalysisPacketHeader>
pub fn outbound_header(&self) -> Option<&AnalysisPacketHeader>
The outbound header.
sourcepub fn inbound_header(&self) -> Option<&AnalysisPacketHeader>
pub fn inbound_header(&self) -> Option<&AnalysisPacketHeader>
The inbound header.
sourcepub fn route_table_route(&self) -> Option<&AnalysisRouteTableRoute>
pub fn route_table_route(&self) -> Option<&AnalysisRouteTableRoute>
The route table route.
sourcepub fn security_group_rule(&self) -> Option<&AnalysisSecurityGroupRule>
pub fn security_group_rule(&self) -> Option<&AnalysisSecurityGroupRule>
The security group rule.
sourcepub fn source_vpc(&self) -> Option<&AnalysisComponent>
pub fn source_vpc(&self) -> Option<&AnalysisComponent>
The source VPC.
sourcepub fn subnet(&self) -> Option<&AnalysisComponent>
pub fn subnet(&self) -> Option<&AnalysisComponent>
The subnet.
sourcepub fn vpc(&self) -> Option<&AnalysisComponent>
pub fn vpc(&self) -> Option<&AnalysisComponent>
The component VPC.
sourcepub fn additional_details(&self) -> Option<&[AdditionalDetail]>
pub fn additional_details(&self) -> Option<&[AdditionalDetail]>
The additional details.
sourcepub fn transit_gateway(&self) -> Option<&AnalysisComponent>
pub fn transit_gateway(&self) -> Option<&AnalysisComponent>
The transit gateway.
sourcepub fn transit_gateway_route_table_route(
&self
) -> Option<&TransitGatewayRouteTableRoute>
pub fn transit_gateway_route_table_route(
&self
) -> Option<&TransitGatewayRouteTableRoute>
The route in a transit gateway route table.
sourcepub fn explanations(&self) -> Option<&[Explanation]>
pub fn explanations(&self) -> Option<&[Explanation]>
The explanation codes.
sourcepub fn elastic_load_balancer_listener(&self) -> Option<&AnalysisComponent>
pub fn elastic_load_balancer_listener(&self) -> Option<&AnalysisComponent>
The load balancer listener.
source§impl PathComponent
impl PathComponent
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PathComponent
.
Examples found in repository?
src/xml_deser.rs (line 63159)
63155 63156 63157 63158 63159 63160 63161 63162 63163 63164 63165 63166 63167 63168 63169 63170 63171 63172 63173 63174 63175 63176 63177 63178 63179 63180 63181 63182 63183 63184 63185 63186 63187 63188 63189 63190 63191 63192 63193 63194 63195 63196 63197 63198 63199 63200 63201 63202 63203 63204 63205 63206 63207 63208 63209 63210 63211 63212 63213 63214 63215 63216 63217 63218 63219 63220 63221 63222 63223 63224 63225 63226 63227 63228 63229 63230 63231 63232 63233 63234 63235 63236 63237 63238 63239 63240 63241 63242 63243 63244 63245 63246 63247 63248 63249 63250 63251 63252 63253 63254 63255 63256 63257 63258 63259 63260 63261 63262 63263 63264 63265 63266 63267 63268 63269 63270 63271 63272 63273 63274 63275 63276 63277 63278 63279 63280 63281 63282 63283 63284 63285 63286 63287 63288 63289 63290 63291 63292 63293 63294 63295 63296 63297 63298 63299 63300 63301 63302 63303 63304 63305 63306 63307 63308 63309 63310 63311 63312 63313 63314 63315 63316 63317 63318 63319 63320 63321 63322 63323 63324 63325 63326 63327 63328 63329 63330 63331 63332 63333 63334 63335 63336 63337 63338 63339 63340 63341
pub fn deser_structure_crate_model_path_component(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::PathComponent, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::PathComponent::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("sequenceNumber") /* SequenceNumber com.amazonaws.ec2#PathComponent$SequenceNumber */ => {
let var_3075 =
Some(
{
<i32 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 (integer: `com.amazonaws.ec2#Integer`)"))
}
?
)
;
builder = builder.set_sequence_number(var_3075);
}
,
s if s.matches("aclRule") /* AclRule com.amazonaws.ec2#PathComponent$AclRule */ => {
let var_3076 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_acl_rule(&mut tag)
?
)
;
builder = builder.set_acl_rule(var_3076);
}
,
s if s.matches("attachedTo") /* AttachedTo com.amazonaws.ec2#PathComponent$AttachedTo */ => {
let var_3077 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_attached_to(var_3077);
}
,
s if s.matches("component") /* Component com.amazonaws.ec2#PathComponent$Component */ => {
let var_3078 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_component(var_3078);
}
,
s if s.matches("destinationVpc") /* DestinationVpc com.amazonaws.ec2#PathComponent$DestinationVpc */ => {
let var_3079 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_destination_vpc(var_3079);
}
,
s if s.matches("outboundHeader") /* OutboundHeader com.amazonaws.ec2#PathComponent$OutboundHeader */ => {
let var_3080 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_packet_header(&mut tag)
?
)
;
builder = builder.set_outbound_header(var_3080);
}
,
s if s.matches("inboundHeader") /* InboundHeader com.amazonaws.ec2#PathComponent$InboundHeader */ => {
let var_3081 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_packet_header(&mut tag)
?
)
;
builder = builder.set_inbound_header(var_3081);
}
,
s if s.matches("routeTableRoute") /* RouteTableRoute com.amazonaws.ec2#PathComponent$RouteTableRoute */ => {
let var_3082 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_route_table_route(&mut tag)
?
)
;
builder = builder.set_route_table_route(var_3082);
}
,
s if s.matches("securityGroupRule") /* SecurityGroupRule com.amazonaws.ec2#PathComponent$SecurityGroupRule */ => {
let var_3083 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_security_group_rule(&mut tag)
?
)
;
builder = builder.set_security_group_rule(var_3083);
}
,
s if s.matches("sourceVpc") /* SourceVpc com.amazonaws.ec2#PathComponent$SourceVpc */ => {
let var_3084 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_source_vpc(var_3084);
}
,
s if s.matches("subnet") /* Subnet com.amazonaws.ec2#PathComponent$Subnet */ => {
let var_3085 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_subnet(var_3085);
}
,
s if s.matches("vpc") /* Vpc com.amazonaws.ec2#PathComponent$Vpc */ => {
let var_3086 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_vpc(var_3086);
}
,
s if s.matches("additionalDetailSet") /* AdditionalDetails com.amazonaws.ec2#PathComponent$AdditionalDetails */ => {
let var_3087 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_additional_detail_list(&mut tag)
?
)
;
builder = builder.set_additional_details(var_3087);
}
,
s if s.matches("transitGateway") /* TransitGateway com.amazonaws.ec2#PathComponent$TransitGateway */ => {
let var_3088 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_transit_gateway(var_3088);
}
,
s if s.matches("transitGatewayRouteTableRoute") /* TransitGatewayRouteTableRoute com.amazonaws.ec2#PathComponent$TransitGatewayRouteTableRoute */ => {
let var_3089 =
Some(
crate::xml_deser::deser_structure_crate_model_transit_gateway_route_table_route(&mut tag)
?
)
;
builder = builder.set_transit_gateway_route_table_route(var_3089);
}
,
s if s.matches("explanationSet") /* Explanations com.amazonaws.ec2#PathComponent$Explanations */ => {
let var_3090 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_explanation_list(&mut tag)
?
)
;
builder = builder.set_explanations(var_3090);
}
,
s if s.matches("elasticLoadBalancerListener") /* ElasticLoadBalancerListener com.amazonaws.ec2#PathComponent$ElasticLoadBalancerListener */ => {
let var_3091 =
Some(
crate::xml_deser::deser_structure_crate_model_analysis_component(&mut tag)
?
)
;
builder = builder.set_elastic_load_balancer_listener(var_3091);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for PathComponent
impl Clone for PathComponent
source§fn clone(&self) -> PathComponent
fn clone(&self) -> PathComponent
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