Class OciVaultRx.Builder
java.lang.Object
io.helidon.integrations.oci.vault.OciVaultRx.Builder
- All Implemented Interfaces:
Builder<OciVaultRx.Builder,,OciVaultRx> Supplier<OciVaultRx>
- Enclosing interface:
- OciVaultRx
public static class OciVaultRx.Builder
extends Object
implements Builder<OciVaultRx.Builder,OciVaultRx>
Fluent API builder for
OciVaultRx.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the instance from this builder.Update from configuration.cryptographicEndpoint(String address) Configure the cryptographic endpoint.kmsEndpoint(String kmsEndpoint) KMS endpoint.Replace KMS host prefix.managementEndpoint(String managementEndpoint) Configure the management endpoint.restApi(OciRestApi restApi) Configure REST API to use.retrievalEndpoint(String retrievalEndpoint) Endpoint to retrieve secrets from.retrievalPrefix(String retrievalHostPrefix) Replace retrieval host prefix.secretApiVersion(String apiVersion) Configure API version to use.secretBundleApiVersion(String apiVersion) Configure bundle API version to use.updateRestApi(Consumer<OciRestApi.Builder> builderConsumer) Update the rest access builder to modify defaults.vaultEndpoint(String vaultEndpoint) Vault endpoint.vaultEndpointFormat(String endpointFormat) Endpoint format to use.vaultPrefix(String vaultPrefix) Replace Vault host prefix.
-
Method Details
-
build
Description copied from interface:BuilderBuild the instance from this builder.- Specified by:
buildin interfaceBuilder<OciVaultRx.Builder,OciVaultRx> - Returns:
- instance of the built type
-
config
Update from configuration. The configuration must be located on theOCIroot configuration node.- Parameters:
config- configuration- Returns:
- updated metrics builder
-
vaultPrefix
Replace Vault host prefix. Changing host prefix may be a breaking change. This API is designed to work withOciVaultRx.VAULTS_HOST_PREFIX.- Parameters:
vaultPrefix- prefix to use- Returns:
- updated builder
-
retrievalPrefix
Replace retrieval host prefix. Changing host prefix may be a breaking change. This API is designed to work withOciVaultRx.RETRIEVAL_HOST_PREFIX.- Parameters:
retrievalHostPrefix- prefix to use- Returns:
- updated builder
-
vaultEndpoint
Vault endpoint.- Parameters:
vaultEndpoint- valut endpoint- Returns:
- updated builder
-
retrievalEndpoint
Endpoint to retrieve secrets from.- Parameters:
retrievalEndpoint- endpoint- Returns:
- updated builder
-
kmsPrefix
Replace KMS host prefix. Changing host prefix may be a breaking change. This API is designed to work withOciVaultRx.KMS_HOST_PREFIX.- Parameters:
kmsPrefix- prefix to use- Returns:
- updated builder
-
kmsEndpoint
KMS endpoint.- Parameters:
kmsEndpoint- KMS endpoint- Returns:
- updated builder
-
vaultEndpointFormat
Endpoint format to use. Default isOciVaultRx.OCI_ENDPOINT_FORMAT.- Parameters:
endpointFormat- endpoint format to use- Returns:
- updated builder
-
secretApiVersion
Configure API version to use. API version is part of the request URI. Changing API version is potentially breaking, as this API is designed to work with a specific version (seeOciVaultRx.SECRET_API_VERSION).- Parameters:
apiVersion- version of the API to use- Returns:
- updated builder
-
secretBundleApiVersion
Configure bundle API version to use. API version is part of the request URI. Changing API version is potentially breaking, as this API is designed to work with a specific version (seeOciVaultRx.SECRET_BUNDLE_API_VERSION).- Parameters:
apiVersion- version of the API to use- Returns:
- updated builder
-
cryptographicEndpoint
Configure the cryptographic endpoint.- Parameters:
address- endpoint for crypto operations- Returns:
- updated builder
-
managementEndpoint
Configure the management endpoint.- Parameters:
managementEndpoint- management endpoint- Returns:
- updated builder
-
restApi
Configure REST API to use.- Parameters:
restApi- OCI rest API- Returns:
- updated builder
-
updateRestApi
Update the rest access builder to modify defaults.- Parameters:
builderConsumer- consumer of the builder- Returns:
- updated metrics builder
-