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

        if (obj instanceof CoverageResourceDetails == false)
            return false;
        CoverageResourceDetails other = (CoverageResourceDetails) obj;
        if (other.getEksClusterDetails() == null ^ this.getEksClusterDetails() == null)
            return false;
        if (other.getEksClusterDetails() != null && other.getEksClusterDetails().equals(this.getEksClusterDetails()) == false)
            return false;
        if (other.getResourceType() == null ^ this.getResourceType() == null)
            return false;
        if (other.getResourceType() != null && other.getResourceType().equals(this.getResourceType()) == false)
            return false;
        if (other.getEcsClusterDetails() == null ^ this.getEcsClusterDetails() == null)
            return false;
        if (other.getEcsClusterDetails() != null && other.getEcsClusterDetails().equals(this.getEcsClusterDetails()) == false)
            return false;
        if (other.getEc2InstanceDetails() == null ^ this.getEc2InstanceDetails() == null)
            return false;
        if (other.getEc2InstanceDetails() != null && other.getEc2InstanceDetails().equals(this.getEc2InstanceDetails()) == 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-guardduty/src/main/java/com/amazonaws/services/guardduty/model/CoverageResourceDetails.java