Class OciVaultSecurityProvider.OciVaultSecretConfig.Builder
- java.lang.Object
-
- io.helidon.integrations.oci.vault.OciVaultSecurityProvider.OciVaultSecretConfig.Builder
-
- All Implemented Interfaces:
Builder<OciVaultSecurityProvider.OciVaultSecretConfig>
,Supplier<OciVaultSecurityProvider.OciVaultSecretConfig>
- Enclosing class:
- OciVaultSecurityProvider.OciVaultSecretConfig
public static class OciVaultSecurityProvider.OciVaultSecretConfig.Builder extends Object implements Builder<OciVaultSecurityProvider.OciVaultSecretConfig>
Fluent API builder forOciVaultSecurityProvider.OciVaultSecretConfig
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OciVaultSecurityProvider.OciVaultSecretConfig
build()
Build the instance from this builder.OciVaultSecurityProvider.OciVaultSecretConfig.Builder
config(Config config)
Update this builder from configuration.OciVaultSecurityProvider.OciVaultSecretConfig.Builder
secretId(String secretId)
Secret OCID.OciVaultSecurityProvider.OciVaultSecretConfig.Builder
stage(SecretStage stage)
Secret stage.OciVaultSecurityProvider.OciVaultSecretConfig.Builder
versionName(String versionName)
Secret version name.OciVaultSecurityProvider.OciVaultSecretConfig.Builder
versionNumber(Integer versionNumber)
Secret version number.
-
-
-
Method Detail
-
build
public OciVaultSecurityProvider.OciVaultSecretConfig build()
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<OciVaultSecurityProvider.OciVaultSecretConfig>
- Returns:
- instance of the built type
-
config
public OciVaultSecurityProvider.OciVaultSecretConfig.Builder config(Config config)
Update this builder from configuration. Configuration options:Secret configuration key description builder method ocid
OCID of the secret secretId(String)
stage
Stage of the secret stage(SecretStage)
version-name
Name of the secret version versionName(String)
version-number
Version of the secret versionNumber(Integer)
- Parameters:
config
- config to use- Returns:
- updated builder
-
secretId
public OciVaultSecurityProvider.OciVaultSecretConfig.Builder secretId(String secretId)
Secret OCID.- Parameters:
secretId
- secret OCID- Returns:
- updated builder
- See Also:
GetSecretBundle.Request.secretId(String)
-
stage
public OciVaultSecurityProvider.OciVaultSecretConfig.Builder stage(SecretStage stage)
Secret stage.- Parameters:
stage
- stage- Returns:
- updated builder
- See Also:
GetSecretBundle.Request.stage(SecretStage)
-
versionName
public OciVaultSecurityProvider.OciVaultSecretConfig.Builder versionName(String versionName)
Secret version name.- Parameters:
versionName
- version name- Returns:
- updated builder
- See Also:
GetSecretBundle.Request.versionName(String)
-
versionNumber
public OciVaultSecurityProvider.OciVaultSecretConfig.Builder versionNumber(Integer versionNumber)
Secret version number.- Parameters:
versionNumber
- version number- Returns:
- updated builder
- See Also:
GetSecretBundle.Request.versionNumber(int)
-
-