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 AnalysisComponent
acl()
The network ACL.final AnalysisAclRule
aclRule()
The network ACL rule.final String
address()
The IPv4 address, in CIDR notation.The IPv4 addresses, in CIDR notation.final AnalysisComponent
The resource to which the component is attached.The Availability Zones.static Explanation.Builder
builder()
cidrs()
The CIDR ranges.The listener for a Classic Load Balancer.final AnalysisComponent
The component.final String
The Amazon Web Services account for the component.final String
The Region for the component.final AnalysisComponent
The customer gateway.final AnalysisComponent
The destination.final AnalysisComponent
The destination VPC.final String
The direction.final AnalysisComponent
The load balancer listener.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final String
The explanation code.final FirewallStatefulRule
The Network Firewall stateful rule.final FirewallStatelessRule
The Network Firewall stateless rule.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final boolean
For responses, this returns true if the service returned a value for the Addresses property.final boolean
For responses, this returns true if the service returned a value for the AvailabilityZones property.final boolean
hasCidrs()
For responses, this returns true if the service returned a value for the Cidrs property.final int
hashCode()
final boolean
For responses, this returns true if the service returned a value for the LoadBalancerTargetGroups property.final boolean
For responses, this returns true if the service returned a value for the PortRanges property.final boolean
For responses, this returns true if the service returned a value for the Protocols property.final boolean
For responses, this returns true if the service returned a value for the SecurityGroups property.final AnalysisComponent
The route table.final AnalysisComponent
The internet gateway.final String
The Amazon Resource Name (ARN) of the load balancer.final Integer
The listener port of the load balancer.The target.final AnalysisComponent
The target group.final List
<AnalysisComponent> The target groups.final Integer
The target port.final String
The missing component.final AnalysisComponent
The NAT gateway.final AnalysisComponent
The network interface.final String
The packet field.final Integer
port()
The port.The port ranges.final AnalysisComponent
The prefix list.The protocols.final AnalysisComponent
The route table.final AnalysisRouteTableRoute
The route table route.final AnalysisComponent
The security group.The security group rule.final List
<AnalysisComponent> The security groups.static Class
<? extends Explanation.Builder> final AnalysisComponent
The source VPC.final String
state()
The state.final AnalysisComponent
subnet()
The subnet.final AnalysisComponent
The route table for the subnet.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final AnalysisComponent
The transit gateway.final AnalysisComponent
The transit gateway attachment.final AnalysisComponent
The transit gateway route table.The transit gateway route table route.final AnalysisComponent
vpc()
The component VPC.final AnalysisComponent
The VPC endpoint.final AnalysisComponent
The VPC peering connection.final AnalysisComponent
The VPN connection.final AnalysisComponent
The VPN gateway.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
acl
The network ACL.
- Returns:
- The network ACL.
-
aclRule
The network ACL rule.
- Returns:
- The network ACL rule.
-
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.
-
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
The component.
- Returns:
- The component.
-
customerGateway
The customer gateway.
- Returns:
- The customer gateway.
-
destination
The destination.
- Returns:
- The destination.
-
destinationVpc
The destination VPC.
- Returns:
- The destination VPC.
-
direction
The direction. The following are the possible values:
-
egress
-
ingress
- Returns:
- The direction. The following are the possible values:
-
egress
-
ingress
-
-
-
explanationCode
The explanation code.
- Returns:
- The explanation code.
-
ingressRouteTable
The route table.
- Returns:
- The route table.
-
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
The target.
- Returns:
- The target.
-
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
The target port.
- Returns:
- The target port.
-
elasticLoadBalancerListener
The load balancer listener.
- Returns:
- The load balancer listener.
-
missingComponent
The missing component.
- Returns:
- The missing component.
-
natGateway
The NAT gateway.
- Returns:
- The NAT gateway.
-
networkInterface
The network interface.
- Returns:
- The network interface.
-
packetField
The packet field.
- Returns:
- The packet field.
-
vpcPeeringConnection
The VPC peering connection.
- Returns:
- The VPC peering connection.
-
port
The port.
- Returns:
- The 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
The prefix list.
- Returns:
- The prefix list.
-
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
The route table.
- Returns:
- The route table.
-
securityGroup
The security group.
- Returns:
- The security group.
-
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
The source VPC.
- Returns:
- The source VPC.
-
state
The state.
- Returns:
- The state.
-
subnet
The subnet.
- Returns:
- The subnet.
-
subnetRouteTable
The route table for the subnet.
- Returns:
- The route table for the subnet.
-
vpc
The component VPC.
- Returns:
- The component VPC.
-
vpcEndpoint
The VPC endpoint.
- Returns:
- The VPC endpoint.
-
vpnConnection
The VPN connection.
- Returns:
- The VPN connection.
-
vpnGateway
The VPN gateway.
- Returns:
- The VPN gateway.
-
transitGateway
The transit gateway.
- Returns:
- The transit gateway.
-
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:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<Explanation.Builder,
Explanation> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-