@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getDetectorName() != null)
            sb.append("DetectorName: ").append(getDetectorName()).append(",");
        if (getLogGroupArnList() != null)
            sb.append("LogGroupArnList: ").append(getLogGroupArnList()).append(",");
        if (getEvaluationFrequency() != null)
            sb.append("EvaluationFrequency: ").append(getEvaluationFrequency()).append(",");
        if (getFilterPattern() != null)
            sb.append("FilterPattern: ").append(getFilterPattern()).append(",");
        if (getAnomalyDetectorStatus() != null)
            sb.append("AnomalyDetectorStatus: ").append(getAnomalyDetectorStatus()).append(",");
        if (getKmsKeyId() != null)
            sb.append("KmsKeyId: ").append(getKmsKeyId()).append(",");
        if (getCreationTimeStamp() != null)
            sb.append("CreationTimeStamp: ").append(getCreationTimeStamp()).append(",");
        if (getLastModifiedTimeStamp() != null)
            sb.append("LastModifiedTimeStamp: ").append(getLastModifiedTimeStamp()).append(",");
        if (getAnomalyVisibilityTime() != null)
            sb.append("AnomalyVisibilityTime: ").append(getAnomalyVisibilityTime());
        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-logs/src/main/java/com/amazonaws/services/logs/model/GetLogAnomalyDetectorResult.java