public static class IndexDTO.Builder<S extends IndexDTO.Builder>
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| protected java.lang.String[][] | fieldNamesThe names of the fields. | 
| protected Index.IndexType | indexTypeThe type of the index. | 
| protected java.lang.String | nameThe name of the index. | 
| Constructor and Description | 
|---|
| Builder()Default constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| IndexDTO | build()Builds a new instance of IndexDTO. | 
| S | withFieldNames(java.lang.String[][] fieldNames)Sets the field names of the index. | 
| S | withIndexType(Index.IndexType indexType)Sets the type of the index. | 
| S | withName(java.lang.String name)Sets the name of the index. | 
protected Index.IndexType indexType
protected java.lang.String name
protected java.lang.String[][] fieldNames
public S withIndexType(Index.IndexType indexType)
indexType - The type of the index.public S withName(java.lang.String name)
name - The name of the index.public S withFieldNames(java.lang.String[][] fieldNames)
fieldNames - The field names of the index.public IndexDTO build()