Class CreateCredentialsOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.CreateCredentialsOptions
- All Implemented Interfaces:
- com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateCredentialsOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createCredentials options.
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classCreateCredentialsOptions.BuilderBuilder.static interfaceCreateCredentialsOptions.SourceTypeThe source that this credentials object connects to.
- 
Method SummaryModifier and Type Method Description CredentialDetailscredentialDetails()Gets the credentialDetails.StringenvironmentId()Gets the environmentId.CreateCredentialsOptions.BuildernewBuilder()New builder.StringsourceType()Gets the sourceType.StatusDetailsstatus()Gets the status.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModelequals, hashCode, toString
- 
Method Details- 
newBuilderNew builder.- Returns:
- a CreateCredentialsOptions builder
 
- 
environmentIdGets the environmentId.The ID of the environment. - Returns:
- the environmentId
 
- 
sourceTypeGets the sourceType.The source that this credentials object connects to. - `box` indicates the credentials are used to connect an instance of Enterprise Box. - `salesforce` indicates the credentials are used to connect to Salesforce. - `sharepoint` indicates the credentials are used to connect to Microsoft SharePoint Online. - `web_crawl` indicates the credentials are used to perform a web crawl. = `cloud_object_storage` indicates the credentials are used to connect to an IBM Cloud Object Store. - Returns:
- the sourceType
 
- 
credentialDetailsGets the credentialDetails.Object containing details of the stored credentials. Obtain credentials for your source from the administrator of the source. - Returns:
- the credentialDetails
 
- 
statusGets the status.Object that contains details about the status of the authentication process. - Returns:
- the status
 
 
-