public static class UpdateCredentialsOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
UpdateCredentialsOptions.Builder()
Instantiates a new builder.
|
UpdateCredentialsOptions.Builder(java.lang.String environmentId,
java.lang.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(java.lang.String credentialId)
Set the credentialId.
|
UpdateCredentialsOptions.Builder |
credentials(Credentials credentials)
Set the credentials.
|
UpdateCredentialsOptions.Builder |
environmentId(java.lang.String environmentId)
Set the environmentId.
|
UpdateCredentialsOptions.Builder |
sourceType(java.lang.String sourceType)
Set the sourceType.
|
UpdateCredentialsOptions.Builder |
status(java.lang.String status)
Set the status.
|
public UpdateCredentialsOptions.Builder()
public UpdateCredentialsOptions.Builder(java.lang.String environmentId, java.lang.String credentialId)
environmentId
- the environmentIdcredentialId
- the credentialIdpublic UpdateCredentialsOptions build()
public UpdateCredentialsOptions.Builder environmentId(java.lang.String environmentId)
environmentId
- the environmentIdpublic UpdateCredentialsOptions.Builder credentialId(java.lang.String credentialId)
credentialId
- the credentialIdpublic UpdateCredentialsOptions.Builder sourceType(java.lang.String sourceType)
sourceType
- the sourceTypepublic UpdateCredentialsOptions.Builder credentialDetails(CredentialDetails credentialDetails)
credentialDetails
- the credentialDetailspublic UpdateCredentialsOptions.Builder status(java.lang.String status)
status
- the statuspublic UpdateCredentialsOptions.Builder credentials(Credentials credentials)
credentials
- the credentials