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

        if (obj instanceof CopyServerlessCacheSnapshotRequest == false)
            return false;
        CopyServerlessCacheSnapshotRequest other = (CopyServerlessCacheSnapshotRequest) obj;
        if (other.getSourceServerlessCacheSnapshotName() == null ^ this.getSourceServerlessCacheSnapshotName() == null)
            return false;
        if (other.getSourceServerlessCacheSnapshotName() != null
                && other.getSourceServerlessCacheSnapshotName().equals(this.getSourceServerlessCacheSnapshotName()) == false)
            return false;
        if (other.getTargetServerlessCacheSnapshotName() == null ^ this.getTargetServerlessCacheSnapshotName() == null)
            return false;
        if (other.getTargetServerlessCacheSnapshotName() != null
                && other.getTargetServerlessCacheSnapshotName().equals(this.getTargetServerlessCacheSnapshotName()) == false)
            return false;
        if (other.getKmsKeyId() == null ^ this.getKmsKeyId() == null)
            return false;
        if (other.getKmsKeyId() != null && other.getKmsKeyId().equals(this.getKmsKeyId()) == false)
            return false;
        if (other.getTags() == null ^ this.getTags() == null)
            return false;
        if (other.getTags() != null && other.getTags().equals(this.getTags()) == 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-elasticache/src/main/java/com/amazonaws/services/elasticache/model/CopyServerlessCacheSnapshotRequest.java