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

        if (obj instanceof CopyDistributionRequest == false)
            return false;
        CopyDistributionRequest other = (CopyDistributionRequest) obj;
        if (other.getPrimaryDistributionId() == null ^ this.getPrimaryDistributionId() == null)
            return false;
        if (other.getPrimaryDistributionId() != null && other.getPrimaryDistributionId().equals(this.getPrimaryDistributionId()) == false)
            return false;
        if (other.getStaging() == null ^ this.getStaging() == null)
            return false;
        if (other.getStaging() != null && other.getStaging().equals(this.getStaging()) == false)
            return false;
        if (other.getIfMatch() == null ^ this.getIfMatch() == null)
            return false;
        if (other.getIfMatch() != null && other.getIfMatch().equals(this.getIfMatch()) == false)
            return false;
        if (other.getCallerReference() == null ^ this.getCallerReference() == null)
            return false;
        if (other.getCallerReference() != null && other.getCallerReference().equals(this.getCallerReference()) == false)
            return false;
        if (other.getEnabled() == null ^ this.getEnabled() == null)
            return false;
        if (other.getEnabled() != null && other.getEnabled().equals(this.getEnabled()) == 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-cloudfront/src/main/java/com/amazonaws/services/cloudfront/model/CopyDistributionRequest.java