Class Explanation
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Explanation.Builder,Explanation>
Describes an explanation code for an unreachable path. For more information, see Reachability Analyzer explanation codes.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AnalysisComponentacl()The network ACL.final AnalysisAclRuleaclRule()The network ACL rule.final Stringaddress()The IPv4 address, in CIDR notation.The IPv4 addresses, in CIDR notation.final AnalysisComponentThe resource to which the component is attached.The IDs of the Availability Zones.The Availability Zones.static Explanation.Builderbuilder()cidrs()The CIDR ranges.The listener for a Classic Load Balancer.final AnalysisComponentThe component.final StringThe Amazon Web Services account for the component.final StringThe Region for the component.final AnalysisComponentThe customer gateway.final AnalysisComponentThe destination.final AnalysisComponentThe destination VPC.final StringThe direction.final AnalysisComponentThe load balancer listener.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringThe explanation code.final FirewallStatefulRuleThe Network Firewall stateful rule.final FirewallStatelessRuleThe Network Firewall stateless rule.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final booleanFor responses, this returns true if the service returned a value for the Addresses property.final booleanFor responses, this returns true if the service returned a value for the AvailabilityZoneIds property.final booleanFor responses, this returns true if the service returned a value for the AvailabilityZones property.final booleanhasCidrs()For responses, this returns true if the service returned a value for the Cidrs property.final inthashCode()final booleanFor responses, this returns true if the service returned a value for the LoadBalancerTargetGroups property.final booleanFor responses, this returns true if the service returned a value for the PortRanges property.final booleanFor responses, this returns true if the service returned a value for the Protocols property.final booleanFor responses, this returns true if the service returned a value for the SecurityGroups property.final AnalysisComponentThe route table.final AnalysisComponentThe internet gateway.final StringThe Amazon Resource Name (ARN) of the load balancer.final IntegerThe listener port of the load balancer.The target.final AnalysisComponentThe target group.final List<AnalysisComponent> The target groups.final IntegerThe target port.final StringThe missing component.final AnalysisComponentThe NAT gateway.final AnalysisComponentThe network interface.final StringThe packet field.final Integerport()The port.The port ranges.final AnalysisComponentThe prefix list.The protocols.final AnalysisComponentThe route table.final AnalysisRouteTableRouteThe route table route.final AnalysisComponentThe security group.The security group rule.final List<AnalysisComponent> The security groups.static Class<? extends Explanation.Builder> final AnalysisComponentThe source VPC.final Stringstate()The state.final AnalysisComponentsubnet()The subnet.final AnalysisComponentThe route table for the subnet.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final AnalysisComponentThe transit gateway.final AnalysisComponentThe transit gateway attachment.final AnalysisComponentThe transit gateway route table.The transit gateway route table route.final AnalysisComponentvpc()The component VPC.final AnalysisComponentThe VPC endpoint.final AnalysisComponentThe VPC peering connection.final AnalysisComponentThe VPN connection.final AnalysisComponentThe VPN gateway.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
acl
-
aclRule
-
address
The IPv4 address, in CIDR notation.
- Returns:
- The IPv4 address, in CIDR notation.
-
hasAddresses
public final boolean hasAddresses()For responses, this returns true if the service returned a value for the Addresses property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
addresses
The IPv4 addresses, in CIDR notation.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasAddresses()method.- Returns:
- The IPv4 addresses, in CIDR notation.
-
attachedTo
The resource to which the component is attached.
- Returns:
- The resource to which the component is attached.
-
hasAvailabilityZones
public final boolean hasAvailabilityZones()For responses, this returns true if the service returned a value for the AvailabilityZones property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
availabilityZones
The Availability Zones.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasAvailabilityZones()method.- Returns:
- The Availability Zones.
-
hasAvailabilityZoneIds
public final boolean hasAvailabilityZoneIds()For responses, this returns true if the service returned a value for the AvailabilityZoneIds property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
availabilityZoneIds
The IDs of the Availability Zones.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasAvailabilityZoneIds()method.- Returns:
- The IDs of the Availability Zones.
-
hasCidrs
public final boolean hasCidrs()For responses, this returns true if the service returned a value for the Cidrs property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
cidrs
The CIDR ranges.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasCidrs()method.- Returns:
- The CIDR ranges.
-
component
-
customerGateway
The customer gateway.
- Returns:
- The customer gateway.
-
destination
-
destinationVpc
-
direction
The direction. The following are the possible values:
-
egress
-
ingress
- Returns:
- The direction. The following are the possible values:
-
egress
-
ingress
-
-
-
explanationCode
-
ingressRouteTable
-
internetGateway
The internet gateway.
- Returns:
- The internet gateway.
-
loadBalancerArn
The Amazon Resource Name (ARN) of the load balancer.
- Returns:
- The Amazon Resource Name (ARN) of the load balancer.
-
classicLoadBalancerListener
The listener for a Classic Load Balancer.
- Returns:
- The listener for a Classic Load Balancer.
-
loadBalancerListenerPort
The listener port of the load balancer.
- Returns:
- The listener port of the load balancer.
-
loadBalancerTarget
-
loadBalancerTargetGroup
The target group.
- Returns:
- The target group.
-
hasLoadBalancerTargetGroups
public final boolean hasLoadBalancerTargetGroups()For responses, this returns true if the service returned a value for the LoadBalancerTargetGroups property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
loadBalancerTargetGroups
The target groups.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasLoadBalancerTargetGroups()method.- Returns:
- The target groups.
-
loadBalancerTargetPort
-
elasticLoadBalancerListener
The load balancer listener.
- Returns:
- The load balancer listener.
-
missingComponent
-
natGateway
-
networkInterface
The network interface.
- Returns:
- The network interface.
-
packetField
-
vpcPeeringConnection
The VPC peering connection.
- Returns:
- The VPC peering connection.
-
port
-
hasPortRanges
public final boolean hasPortRanges()For responses, this returns true if the service returned a value for the PortRanges property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
portRanges
The port ranges.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasPortRanges()method.- Returns:
- The port ranges.
-
prefixList
-
hasProtocols
public final boolean hasProtocols()For responses, this returns true if the service returned a value for the Protocols property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
protocols
The protocols.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasProtocols()method.- Returns:
- The protocols.
-
routeTableRoute
The route table route.
- Returns:
- The route table route.
-
routeTable
-
securityGroup
-
securityGroupRule
The security group rule.
- Returns:
- The security group rule.
-
hasSecurityGroups
public final boolean hasSecurityGroups()For responses, this returns true if the service returned a value for the SecurityGroups property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
securityGroups
The security groups.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasSecurityGroups()method.- Returns:
- The security groups.
-
sourceVpc
-
state
-
subnet
-
subnetRouteTable
The route table for the subnet.
- Returns:
- The route table for the subnet.
-
vpc
-
vpcEndpoint
-
vpnConnection
-
vpnGateway
-
transitGateway
-
transitGatewayRouteTable
The transit gateway route table.
- Returns:
- The transit gateway route table.
-
transitGatewayRouteTableRoute
The transit gateway route table route.
- Returns:
- The transit gateway route table route.
-
transitGatewayAttachment
The transit gateway attachment.
- Returns:
- The transit gateway attachment.
-
componentAccount
The Amazon Web Services account for the component.
- Returns:
- The Amazon Web Services account for the component.
-
componentRegion
The Region for the component.
- Returns:
- The Region for the component.
-
firewallStatelessRule
The Network Firewall stateless rule.
- Returns:
- The Network Firewall stateless rule.
-
firewallStatefulRule
The Network Firewall stateful rule.
- Returns:
- The Network Firewall stateful rule.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Explanation.Builder,Explanation> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-