Class Credentials.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.Credentials.Builder
- Enclosing class:
- Credentials
public static class Credentials.Builder extends Object
Builder.
- 
Constructor SummaryConstructors Constructor Description Builder()Instantiates a new builder.
- 
Method SummaryModifier and Type Method Description Credentialsbuild()Builds a Credentials.Credentials.BuildercredentialDetails(CredentialDetails credentialDetails)Set the credentialDetails.Credentials.BuildersourceType(String sourceType)Set the sourceType.Credentials.Builderstatus(StatusDetails status)Set the status.
- 
Constructor Details- 
Builderpublic Builder()Instantiates a new builder.
 
- 
- 
Method Details- 
buildBuilds a Credentials.- Returns:
- the new Credentials instance
 
- 
sourceTypeSet the sourceType.- Parameters:
- sourceType- the sourceType
- Returns:
- the Credentials builder
 
- 
credentialDetailsSet the credentialDetails.- Parameters:
- credentialDetails- the credentialDetails
- Returns:
- the Credentials builder
 
- 
statusSet the status.- Parameters:
- status- the status
- Returns:
- the Credentials builder
 
 
-