public class PersonalityInsights
extends com.ibm.cloud.sdk.core.service.BaseService
Constructor and Description |
---|
PersonalityInsights(java.lang.String versionDate)
Constructs a new `PersonalityInsights` client using the DEFAULT_SERVICE_NAME.
|
PersonalityInsights(java.lang.String versionDate,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs a new `PersonalityInsights` client with the DEFAULT_SERVICE_NAME
and the specified Authenticator.
|
PersonalityInsights(java.lang.String versionDate,
java.lang.String serviceName)
Constructs a new `PersonalityInsights` client with the specified serviceName.
|
PersonalityInsights(java.lang.String versionDate,
java.lang.String serviceName,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs a new `PersonalityInsights` client with the specified Authenticator
and serviceName.
|
Modifier and Type | Method and Description |
---|---|
com.ibm.cloud.sdk.core.http.ServiceCall<Profile> |
profile(ProfileOptions profileOptions)
Get profile.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.io.InputStream> |
profileAsCsv(ProfileOptions profileOptions)
Get profile as csv.
|
configureClient, configureHttpClient, configureService, createServiceCall, getAuthenticator, getClient, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, processServiceCall, setAuthentication, setClient, setDefaultHeaders, setDefaultHeaders, setEndPoint, setServiceUrl, toString
public 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, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
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.authenticator
- the Authenticator instance to be configured for this servicepublic PersonalityInsights(java.lang.String versionDate, java.lang.String serviceName)
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.serviceName
- The name of the service to configure.public PersonalityInsights(java.lang.String versionDate, java.lang.String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
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.serviceName
- The name of the service to configure.authenticator
- the Authenticator instance to be configured for this servicepublic com.ibm.cloud.sdk.core.http.ServiceCall<Profile> profile(ProfileOptions profileOptions)
profileOptions
- the ProfileOptions
containing the options for the callServiceCall
with a response type of Profile
public com.ibm.cloud.sdk.core.http.ServiceCall<java.io.InputStream> profileAsCsv(ProfileOptions profileOptions)
profileOptions
- the ProfileOptions
containing the options for the callServiceCall
with a response type of String