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