public class CreateIndexRequest extends AbstractModel
Constructor and Description |
---|
CreateIndexRequest() |
CreateIndexRequest(CreateIndexRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getIndexMetaJson()
Get JSON-formatted index metadata to create, such as `mappings` and `settings`
|
String |
getIndexName()
Get Name of the index to create
|
String |
getIndexType()
Get Type of the index to create.
|
String |
getInstanceId()
Get ES cluster ID
|
String |
getPassword()
Get Password for cluster access
|
String |
getUsername()
Get Username for cluster access
|
void |
setIndexMetaJson(String IndexMetaJson)
Set JSON-formatted index metadata to create, such as `mappings` and `settings`
|
void |
setIndexName(String IndexName)
Set Name of the index to create
|
void |
setIndexType(String IndexType)
Set Type of the index to create.
|
void |
setInstanceId(String InstanceId)
Set ES cluster ID
|
void |
setPassword(String Password)
Set Password for cluster access
|
void |
setUsername(String Username)
Set Username for cluster access
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CreateIndexRequest()
public CreateIndexRequest(CreateIndexRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- ES cluster IDpublic String getIndexType()
public void setIndexType(String IndexType)
IndexType
- Type of the index to create. `auto`: Automated; `normal`: General.public String getIndexName()
public void setIndexName(String IndexName)
IndexName
- Name of the index to createpublic String getIndexMetaJson()
public void setIndexMetaJson(String IndexMetaJson)
IndexMetaJson
- JSON-formatted index metadata to create, such as `mappings` and `settings`public String getUsername()
public void setUsername(String Username)
Username
- Username for cluster accesspublic String getPassword()
public void setPassword(String Password)
Password
- Password for cluster accessCopyright © 2023. All rights reserved.