public static class UpdateCredentialsOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String environmentId,
String credentialId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
UpdateCredentialsOptions |
build()
Builds a UpdateCredentialsOptions.
|
UpdateCredentialsOptions.Builder |
credentialDetails(CredentialDetails credentialDetails)
Set the credentialDetails.
|
UpdateCredentialsOptions.Builder |
credentialId(String credentialId)
Set the credentialId.
|
UpdateCredentialsOptions.Builder |
credentials(Credentials credentials)
Set the credentials.
|
UpdateCredentialsOptions.Builder |
environmentId(String environmentId)
Set the environmentId.
|
UpdateCredentialsOptions.Builder |
sourceType(String sourceType)
Set the sourceType.
|
UpdateCredentialsOptions.Builder |
status(StatusDetails status)
Set the status.
|
public UpdateCredentialsOptions build()
public UpdateCredentialsOptions.Builder environmentId(String environmentId)
environmentId
- the environmentIdpublic UpdateCredentialsOptions.Builder credentialId(String credentialId)
credentialId
- the credentialIdpublic UpdateCredentialsOptions.Builder sourceType(String sourceType)
sourceType
- the sourceTypepublic UpdateCredentialsOptions.Builder credentialDetails(CredentialDetails credentialDetails)
credentialDetails
- the credentialDetailspublic UpdateCredentialsOptions.Builder status(StatusDetails status)
status
- the statuspublic UpdateCredentialsOptions.Builder credentials(Credentials credentials)
credentials
- the credentialsCopyright © 2024 IBM Cloud. All rights reserved.