public class Credentials
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
Credentials.Builder
Builder.
|
static interface |
Credentials.SourceType
The source that this credentials object connects to.
|
Modifier and Type | Method and Description |
---|---|
CredentialDetails |
credentialDetails()
Gets the credentialDetails.
|
String |
credentialId()
Gets the credentialId.
|
Credentials.Builder |
newBuilder()
New builder.
|
String |
sourceType()
Gets the sourceType.
|
StatusDetails |
status()
Gets the status.
|
public Credentials.Builder newBuilder()
public String credentialId()
Unique identifier for this set of credentials.
public String 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.
public CredentialDetails credentialDetails()
Object containing details of the stored credentials.
Obtain credentials for your source from the administrator of the source.
public StatusDetails status()
Object that contains details about the status of the authentication process.
Copyright © 2021 IBM Cloud. All rights reserved.