public class PersonalityInsights extends WatsonService
defaultHeaders, MESSAGE_CODE, MESSAGE_ERROR, skipAuthentication, VERSION| Constructor and Description | 
|---|
| PersonalityInsights(java.lang.String versionDate)Instantiates a new `PersonalityInsights`. | 
| PersonalityInsights(java.lang.String versionDate,
                   IamOptions iamOptions)Instantiates a new `PersonalityInsights` with IAM. | 
| PersonalityInsights(java.lang.String versionDate,
                   java.lang.String username,
                   java.lang.String password)Instantiates a new `PersonalityInsights` with username and password. | 
| Modifier and Type | Method and Description | 
|---|---|
| ServiceCall<java.lang.String> | getProfileAsCSV(ProfileOptions profileOptions,
               boolean includeHeaders)Get profile. | 
| ServiceCall<Profile> | profile(ProfileOptions profileOptions)Get profile. | 
configureHttpClient, createServiceCall, getApiKey, getEndPoint, getName, getPassword, getToken, getUsername, isTokenManagerSet, processServiceCall, setApiKey, setAuthentication, setDefaultHeaders, setDefaultHeaders, setEndPoint, setIamCredentials, setSkipAuthentication, setUsernameAndPassword, toStringpublic PersonalityInsights(java.lang.String versionDate)
versionDate - The version date (yyyy-MM-dd) of the REST API to use. Specifying this value will keep your API
          calls from failing when the service introduces breaking changes.public PersonalityInsights(java.lang.String versionDate,
                   java.lang.String username,
                   java.lang.String password)
versionDate - The version date (yyyy-MM-dd) of the REST API to use. Specifying this value will keep your API
          calls from failing when the service introduces breaking changes.username - the usernamepassword - the passwordpublic PersonalityInsights(java.lang.String versionDate,
                   IamOptions iamOptions)
versionDate - The version date (yyyy-MM-dd) of the REST API to use. Specifying this value will keep your API
          calls from failing when the service introduces breaking changes.iamOptions - the options for authenticating through IAMpublic ServiceCall<Profile> profile(ProfileOptions profileOptions)
profileOptions - the ProfileOptions containing the options for the callServiceCall with a response type of Profilepublic ServiceCall<java.lang.String> getProfileAsCSV(ProfileOptions profileOptions, boolean includeHeaders)
profileOptions - the ProfileOptions containing the options for the callServiceCall with a response type of Profile