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 Credentials
build()
Builds a Credentials.Credentials.Builder
credentialDetails(CredentialDetails credentialDetails)
Set the credentialDetails.Credentials.Builder
sourceType(String sourceType)
Set the sourceType.Credentials.Builder
status(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
-