Package com.oracle.bmc.cloudbridge.model
Class AssetSourceCredentials.Builder
- java.lang.Object
- 
- com.oracle.bmc.cloudbridge.model.AssetSourceCredentials.Builder
 
- 
- Enclosing class:
- AssetSourceCredentials
 
 public static class AssetSourceCredentials.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AssetSourceCredentialsbuild()AssetSourceCredentials.Buildercopy(AssetSourceCredentials model)AssetSourceCredentials.BuildersecretId(String secretId)The OCID of the secret in a vault.AssetSourceCredentials.Buildertype(AssetSourceCredentialsType type)Authentication type
 
- 
- 
- 
Method Detail- 
typepublic AssetSourceCredentials.Builder type(AssetSourceCredentialsType type) Authentication type- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
secretIdpublic AssetSourceCredentials.Builder secretId(String secretId) The OCID of the secret in a vault.If 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”: “ ”, “password”: “example-password” }. If the type of the credentials is API_KEY, the secret must contain the accessKeyId and secretAccessKey in JSON format, which is in the form of { “accessKeyId”: “ ”, “secretAccessKey”: “ ” }. - Parameters:
- secretId- the value to set
- Returns:
- this builder
 
 - 
buildpublic AssetSourceCredentials build() 
 - 
copypublic AssetSourceCredentials.Builder copy(AssetSourceCredentials model) 
 
- 
 
-