public static class Credentials.Builder extends Object
Constructor and Description |
---|
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 |
sourceType(String sourceType)
Set the sourceType.
|
Credentials.Builder |
status(StatusDetails status)
Set the status.
|
public Credentials build()
public Credentials.Builder sourceType(String sourceType)
sourceType
- the sourceTypepublic Credentials.Builder credentialDetails(CredentialDetails credentialDetails)
credentialDetails
- the credentialDetailspublic Credentials.Builder status(StatusDetails status)
status
- the statusCopyright © 2022 IBM Cloud. All rights reserved.