@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getDICOMPatientId() != null)
            sb.append("DICOMPatientId: ").append("***Sensitive Data Redacted***").append(",");
        if (getDICOMAccessionNumber() != null)
            sb.append("DICOMAccessionNumber: ").append("***Sensitive Data Redacted***").append(",");
        if (getDICOMStudyId() != null)
            sb.append("DICOMStudyId: ").append("***Sensitive Data Redacted***").append(",");
        if (getDICOMStudyInstanceUID() != null)
            sb.append("DICOMStudyInstanceUID: ").append("***Sensitive Data Redacted***").append(",");
        if (getDICOMSeriesInstanceUID() != null)
            sb.append("DICOMSeriesInstanceUID: ").append("***Sensitive Data Redacted***").append(",");
        if (getCreatedAt() != null)
            sb.append("CreatedAt: ").append(getCreatedAt()).append(",");
        if (getUpdatedAt() != null)
            sb.append("UpdatedAt: ").append(getUpdatedAt()).append(",");
        if (getDICOMStudyDateAndTime() != null)
            sb.append("DICOMStudyDateAndTime: ").append(getDICOMStudyDateAndTime());
        sb.append("}");
        return sb.toString();
    }
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-medicalimaging/src/main/java/com/amazonaws/services/medicalimaging/model/SearchByAttributeValue.java