Class CredentialDetails.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.CredentialDetails.Builder
- Enclosing class:
- CredentialDetails
public static class CredentialDetails.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder. -
Method Summary
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a CredentialDetails.- Returns:
- the new CredentialDetails instance
-
credentialType
Set the credentialType.- Parameters:
credentialType
- the credentialType- Returns:
- the CredentialDetails builder
-
clientId
Set the clientId.- Parameters:
clientId
- the clientId- Returns:
- the CredentialDetails builder
-
enterpriseId
Set the enterpriseId.- Parameters:
enterpriseId
- the enterpriseId- Returns:
- the CredentialDetails builder
-
url
Set the url.- Parameters:
url
- the url- Returns:
- the CredentialDetails builder
-
username
Set the username.- Parameters:
username
- the username- Returns:
- the CredentialDetails builder
-
organizationUrl
Set the organizationUrl.- Parameters:
organizationUrl
- the organizationUrl- Returns:
- the CredentialDetails builder
-
siteCollectionPath
Set the siteCollectionPath.- Parameters:
siteCollectionPath
- the siteCollectionPath- Returns:
- the CredentialDetails builder
-
clientSecret
Set the clientSecret.- Parameters:
clientSecret
- the clientSecret- Returns:
- the CredentialDetails builder
-
publicKeyId
Set the publicKeyId.- Parameters:
publicKeyId
- the publicKeyId- Returns:
- the CredentialDetails builder
-
privateKey
Set the privateKey.- Parameters:
privateKey
- the privateKey- Returns:
- the CredentialDetails builder
-
passphrase
Set the passphrase.- Parameters:
passphrase
- the passphrase- Returns:
- the CredentialDetails builder
-
password
Set the password.- Parameters:
password
- the password- Returns:
- the CredentialDetails builder
-
gatewayId
Set the gatewayId.- Parameters:
gatewayId
- the gatewayId- Returns:
- the CredentialDetails builder
-
sourceVersion
Set the sourceVersion.- Parameters:
sourceVersion
- the sourceVersion- Returns:
- the CredentialDetails builder
-
webApplicationUrl
Set the webApplicationUrl.- Parameters:
webApplicationUrl
- the webApplicationUrl- Returns:
- the CredentialDetails builder
-
domain
Set the domain.- Parameters:
domain
- the domain- Returns:
- the CredentialDetails builder
-
endpoint
Set the endpoint.- Parameters:
endpoint
- the endpoint- Returns:
- the CredentialDetails builder
-
accessKeyId
Set the accessKeyId.- Parameters:
accessKeyId
- the accessKeyId- Returns:
- the CredentialDetails builder
-
secretAccessKey
Set the secretAccessKey.- Parameters:
secretAccessKey
- the secretAccessKey- Returns:
- the CredentialDetails builder
-