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

        if (obj instanceof ResourceScanMetadata == false)
            return false;
        ResourceScanMetadata other = (ResourceScanMetadata) obj;
        if (other.getEc2() == null ^ this.getEc2() == null)
            return false;
        if (other.getEc2() != null && other.getEc2().equals(this.getEc2()) == false)
            return false;
        if (other.getEcrImage() == null ^ this.getEcrImage() == null)
            return false;
        if (other.getEcrImage() != null && other.getEcrImage().equals(this.getEcrImage()) == false)
            return false;
        if (other.getEcrRepository() == null ^ this.getEcrRepository() == null)
            return false;
        if (other.getEcrRepository() != null && other.getEcrRepository().equals(this.getEcrRepository()) == false)
            return false;
        if (other.getLambdaFunction() == null ^ this.getLambdaFunction() == null)
            return false;
        if (other.getLambdaFunction() != null && other.getLambdaFunction().equals(this.getLambdaFunction()) == 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-inspector2/src/main/java/com/amazonaws/services/inspector2/model/ResourceScanMetadata.java