Class AssetSourceCredentials.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudmigrations.model.AssetSourceCredentials.Builder
-
- Enclosing class:
- AssetSourceCredentials
public static class AssetSourceCredentials.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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
-
-
-
Method Detail
-
type
public AssetSourceCredentials.Builder type(AssetSourceCredentialsType type)
Authentication type- Parameters:
type
- the value to set- Returns:
- this builder
-
secretId
public 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”: “
”, “password”: “ ” }. - Parameters:
secretId
- the value to set- Returns:
- this builder
-
build
public AssetSourceCredentials build()
-
copy
public AssetSourceCredentials.Builder copy(AssetSourceCredentials model)
-
-