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 Summary
Constructors Constructor Description Builder()Instantiates a new builder. -
Method Summary
Modifier and Type Method Description Credentialsbuild()Builds a Credentials.Credentials.BuildercredentialDetails(CredentialDetails credentialDetails)Set the credentialDetails.Credentials.BuildersourceType(String sourceType)Set the sourceType.Credentials.Builderstatus(String status)Set the status.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a Credentials.- Returns:
- the new Credentials instance
-
sourceType
Set the sourceType.- Parameters:
sourceType- the sourceType- Returns:
- the Credentials builder
-
credentialDetails
Set the credentialDetails.- Parameters:
credentialDetails- the credentialDetails- Returns:
- the Credentials builder
-
status
Set the status.- Parameters:
status- the status- Returns:
- the Credentials builder
-