@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getIndexFieldName() != null)
            sb.append("IndexFieldName: ").append(getIndexFieldName()).append(",");
        if (getIndexFieldType() != null)
            sb.append("IndexFieldType: ").append(getIndexFieldType()).append(",");
        if (getIntOptions() != null)
            sb.append("IntOptions: ").append(getIntOptions()).append(",");
        if (getDoubleOptions() != null)
            sb.append("DoubleOptions: ").append(getDoubleOptions()).append(",");
        if (getLiteralOptions() != null)
            sb.append("LiteralOptions: ").append(getLiteralOptions()).append(",");
        if (getTextOptions() != null)
            sb.append("TextOptions: ").append(getTextOptions()).append(",");
        if (getDateOptions() != null)
            sb.append("DateOptions: ").append(getDateOptions()).append(",");
        if (getLatLonOptions() != null)
            sb.append("LatLonOptions: ").append(getLatLonOptions()).append(",");
        if (getIntArrayOptions() != null)
            sb.append("IntArrayOptions: ").append(getIntArrayOptions()).append(",");
        if (getDoubleArrayOptions() != null)
            sb.append("DoubleArrayOptions: ").append(getDoubleArrayOptions()).append(",");
        if (getLiteralArrayOptions() != null)
            sb.append("LiteralArrayOptions: ").append(getLiteralArrayOptions()).append(",");
        if (getTextArrayOptions() != null)
            sb.append("TextArrayOptions: ").append(getTextArrayOptions()).append(",");
        if (getDateArrayOptions() != null)
            sb.append("DateArrayOptions: ").append(getDateArrayOptions());
        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-cloudsearch/src/main/java/com/amazonaws/services/cloudsearchv2/model/IndexField.java