@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;

        if (obj instanceof NetworkFirewallInternetTrafficNotInspectedViolation == false)
            return false;
        NetworkFirewallInternetTrafficNotInspectedViolation other = (NetworkFirewallInternetTrafficNotInspectedViolation) obj;
        if (other.getSubnetId() == null ^ this.getSubnetId() == null)
            return false;
        if (other.getSubnetId() != null && other.getSubnetId().equals(this.getSubnetId()) == false)
            return false;
        if (other.getSubnetAvailabilityZone() == null ^ this.getSubnetAvailabilityZone() == null)
            return false;
        if (other.getSubnetAvailabilityZone() != null && other.getSubnetAvailabilityZone().equals(this.getSubnetAvailabilityZone()) == false)
            return false;
        if (other.getRouteTableId() == null ^ this.getRouteTableId() == null)
            return false;
        if (other.getRouteTableId() != null && other.getRouteTableId().equals(this.getRouteTableId()) == false)
            return false;
        if (other.getViolatingRoutes() == null ^ this.getViolatingRoutes() == null)
            return false;
        if (other.getViolatingRoutes() != null && other.getViolatingRoutes().equals(this.getViolatingRoutes()) == false)
            return false;
        if (other.getIsRouteTableUsedInDifferentAZ() == null ^ this.getIsRouteTableUsedInDifferentAZ() == null)
            return false;
        if (other.getIsRouteTableUsedInDifferentAZ() != null
                && other.getIsRouteTableUsedInDifferentAZ().equals(this.getIsRouteTableUsedInDifferentAZ()) == false)
            return false;
        if (other.getCurrentFirewallSubnetRouteTable() == null ^ this.getCurrentFirewallSubnetRouteTable() == null)
            return false;
        if (other.getCurrentFirewallSubnetRouteTable() != null
                && other.getCurrentFirewallSubnetRouteTable().equals(this.getCurrentFirewallSubnetRouteTable()) == false)
            return false;
        if (other.getExpectedFirewallEndpoint() == null ^ this.getExpectedFirewallEndpoint() == null)
            return false;
        if (other.getExpectedFirewallEndpoint() != null && other.getExpectedFirewallEndpoint().equals(this.getExpectedFirewallEndpoint()) == false)
            return false;
        if (other.getFirewallSubnetId() == null ^ this.getFirewallSubnetId() == null)
            return false;
        if (other.getFirewallSubnetId() != null && other.getFirewallSubnetId().equals(this.getFirewallSubnetId()) == false)
            return false;
        if (other.getExpectedFirewallSubnetRoutes() == null ^ this.getExpectedFirewallSubnetRoutes() == null)
            return false;
        if (other.getExpectedFirewallSubnetRoutes() != null && other.getExpectedFirewallSubnetRoutes().equals(this.getExpectedFirewallSubnetRoutes()) == false)
            return false;
        if (other.getActualFirewallSubnetRoutes() == null ^ this.getActualFirewallSubnetRoutes() == null)
            return false;
        if (other.getActualFirewallSubnetRoutes() != null && other.getActualFirewallSubnetRoutes().equals(this.getActualFirewallSubnetRoutes()) == false)
            return false;
        if (other.getInternetGatewayId() == null ^ this.getInternetGatewayId() == null)
            return false;
        if (other.getInternetGatewayId() != null && other.getInternetGatewayId().equals(this.getInternetGatewayId()) == false)
            return false;
        if (other.getCurrentInternetGatewayRouteTable() == null ^ this.getCurrentInternetGatewayRouteTable() == null)
            return false;
        if (other.getCurrentInternetGatewayRouteTable() != null
                && other.getCurrentInternetGatewayRouteTable().equals(this.getCurrentInternetGatewayRouteTable()) == false)
            return false;
        if (other.getExpectedInternetGatewayRoutes() == null ^ this.getExpectedInternetGatewayRoutes() == null)
            return false;
        if (other.getExpectedInternetGatewayRoutes() != null
                && other.getExpectedInternetGatewayRoutes().equals(this.getExpectedInternetGatewayRoutes()) == false)
            return false;
        if (other.getActualInternetGatewayRoutes() == null ^ this.getActualInternetGatewayRoutes() == null)
            return false;
        if (other.getActualInternetGatewayRoutes() != null && other.getActualInternetGatewayRoutes().equals(this.getActualInternetGatewayRoutes()) == false)
            return false;
        if (other.getVpcId() == null ^ this.getVpcId() == null)
            return false;
        if (other.getVpcId() != null && other.getVpcId().equals(this.getVpcId()) == false)
            return false;
        return true;
    }
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.

@return A string representation of this object.

@see java.lang.Object#toString()
aws-java-sdk-fms/src/main/java/com/amazonaws/services/fms/model/NetworkFirewallInternetTrafficNotInspectedViolation.java