public static class AssetSourceCredentials.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AssetSourceCredentials |
build() |
AssetSourceCredentials.Builder |
copy(AssetSourceCredentials model) |
AssetSourceCredentials.Builder |
secretId(String secretId)
The OCID of the
secret in a vault.
|
AssetSourceCredentials.Builder |
type(AssetSourceCredentialsType type)
Authentication type
|
public AssetSourceCredentials.Builder type(AssetSourceCredentialsType type)
Authentication type
type
- the value to setpublic AssetSourceCredentials.Builder secretId(String secretId)
The OCID of the
secret in a vault. If the the type of the credentials is BASIC, the secret must
contain the username and password in JSON format, which is in the form of
{ “username”:
“
secretId
- the value to setpublic AssetSourceCredentials build()
public AssetSourceCredentials.Builder copy(AssetSourceCredentials model)
Copyright © 2016–2024. All rights reserved.