public static class Credentials.Builder
extends java.lang.Object
Constructor and Description |
---|
Credentials.Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
Credentials |
build()
Builds a Credentials.
|
Credentials.Builder |
credentialDetails(CredentialDetails credentialDetails)
Set the credentialDetails.
|
Credentials.Builder |
credentialId(java.lang.String credentialId)
Set the credentialId.
|
Credentials.Builder |
sourceType(java.lang.String sourceType)
Set the sourceType.
|
Credentials.Builder |
status(java.lang.String status)
Set the status.
|
public Credentials build()
public Credentials.Builder credentialId(java.lang.String credentialId)
credentialId
- the credentialIdpublic Credentials.Builder sourceType(java.lang.String sourceType)
sourceType
- the sourceTypepublic Credentials.Builder credentialDetails(CredentialDetails credentialDetails)
credentialDetails
- the credentialDetailspublic Credentials.Builder status(java.lang.String status)
status
- the status