Class EncryptedCredentials.Builder
- java.lang.Object
-
- com.oracle.bmc.stackmonitoring.model.EncryptedCredentials.Builder
-
- Enclosing class:
- EncryptedCredentials
public static class EncryptedCredentials.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EncryptedCredentials
build()
EncryptedCredentials.Builder
copy(EncryptedCredentials model)
EncryptedCredentials.Builder
description(String description)
EncryptedCredentials.Builder
keyId(String keyId)
The master key should be created in OCI Vault owned by the client of this API.EncryptedCredentials.Builder
name(String name)
EncryptedCredentials.Builder
properties(List<CredentialProperty> properties)
The credential properties list.EncryptedCredentials.Builder
source(String source)
EncryptedCredentials.Builder
type(String type)
-
-
-
Method Detail
-
source
public EncryptedCredentials.Builder source(String source)
-
name
public EncryptedCredentials.Builder name(String name)
-
type
public EncryptedCredentials.Builder type(String type)
-
description
public EncryptedCredentials.Builder description(String description)
-
keyId
public EncryptedCredentials.Builder keyId(String keyId)
The master key should be created in OCI Vault owned by the client of this API.The user should have permission to access the vault key.
- Parameters:
keyId
- the value to set- Returns:
- this builder
-
properties
public EncryptedCredentials.Builder properties(List<CredentialProperty> properties)
The credential properties list.Credential property values will be encrypted format.
- Parameters:
properties
- the value to set- Returns:
- this builder
-
build
public EncryptedCredentials build()
-
copy
public EncryptedCredentials.Builder copy(EncryptedCredentials model)
-
-