public class Corpus extends GenericModel
ConceptInsights service.| Modifier and Type | Field and Description |
|---|---|
static Corpus |
IBM_RESEARCHERS
The Constant IBM_RESEARCHERS.
|
static Corpus |
TED_TALKS
The Constant TED_TALKS.
|
| Constructor and Description |
|---|
Corpus()
Instantiates a new corpus.
|
Corpus(String accountId,
String name)
Instantiates a new corpus.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAccess()
Gets the access.
|
List<AccountPermission> |
getAccountPermissions()
Gets the accountPermissions.
|
String |
getId()
Gets the id.
|
String |
getName()
Gets the name.
|
void |
setAccess(String access)
Sets the access.
|
void |
setAccountPermissions(List<AccountPermission> accountPermissions)
Sets the accountPermissions.
|
void |
setId(String id)
Sets the id.
|
void |
setName(String name)
Sets the name.
|
Corpus |
withName(String name)
With name.
|
equals, hashCode, toStringpublic static final Corpus IBM_RESEARCHERS
public static final Corpus TED_TALKS
public String getAccess()
public List<AccountPermission> getAccountPermissions()
public String getId()
public String getName()
public void setAccess(String access)
access - The accesspublic void setAccountPermissions(List<AccountPermission> accountPermissions)
accountPermissions - The accountPermissionspublic void setId(String id)
id - The idpublic void setName(String name)
name - The nameCopyright © 2015. All rights reserved.