Class ConfigMethodConfig.BuilderBase<BUILDER extends ConfigMethodConfig.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends ConfigMethodConfig>
- Type Parameters:
BUILDER- type of the builder extending this abstract builderPROTOTYPE- type of the prototype interface that would be built byPrototype.Builder.buildPrototype()
- All Implemented Interfaces:
Prototype.Builder<BUILDER,,PROTOTYPE> ConfigBuilderSupport.ConfiguredBuilder<BUILDER,,PROTOTYPE> ConfigBuilderSupport.ConfiguredBuilder<BUILDER,PROTOTYPE>
- Direct Known Subclasses:
ConfigMethodConfig.Builder
- Enclosing interface:
ConfigMethodConfig
ConfigMethodConfig.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClear existing value of passphrase.Clear existing value of privateKey.config()Configuration used to configure this instance.Deprecated.Update builder from configuration (node of this type).The OCI authentication fingerprint.fingerprint(String fingerprint) The OCI authentication fingerprint.from(ConfigMethodConfig prototype) Update this builder from an existing prototype instance.from(ConfigMethodConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.Optional<char[]> The OCI authentication passphrase.passphrase(char[] passphrase) The OCI authentication passphrase.passphrase(String passphrase) The OCI authentication passphrase.protected voidHandles providers and decorators.The OCI authentication private key resource.privateKey(Resource privateKey) The OCI authentication private key resource.privateKey(ResourceConfig privateKey) The OCI authentication private key resource.privateKey(Consumer<ResourceConfig.Builder> consumer) The OCI authentication private key resource.privateKey(Supplier<? extends Resource> supplier) The OCI authentication private key resource.region()The OCI region.The OCI region.tenantId()The OCI tenant id.The OCI tenant id.toString()userId()The OCI user id.The OCI user id.protected voidValidates required properties.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.helidon.builder.api.Prototype.Builder
buildPrototype, self
-
Constructor Details
-
BuilderBase
protected BuilderBase()Protected to support extensibility.
-
-
Method Details
-
from
Update this builder from an existing prototype instance. This method disables automatic service discovery.- Parameters:
prototype- existing prototype to update this builder from- Returns:
- updated builder instance
-
from
Update this builder from an existing prototype builder instance.- Parameters:
builder- existing builder prototype to update this builder from- Returns:
- updated builder instance
-
config
Deprecated.Update builder from configuration (node of this type). If a value is present in configuration, it would override currently configured values.- Specified by:
configin interfaceConfigBuilderSupport.ConfiguredBuilder<BUILDER extends ConfigMethodConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ConfigMethodConfig> - Parameters:
config- configuration instance used to obtain values to update this builder- Returns:
- updated builder instance
-
config
Update builder from configuration (node of this type). If a value is present in configuration, it would override currently configured values.- Specified by:
configin interfaceConfigBuilderSupport.ConfiguredBuilder<BUILDER extends ConfigMethodConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ConfigMethodConfig> - Parameters:
config- configuration instance used to obtain values to update this builder- Returns:
- updated builder instance
-
region
The OCI region.- Parameters:
region- the OCI region- Returns:
- updated builder instance
- See Also:
-
fingerprint
The OCI authentication fingerprint.This configuration property must be provided in order to set the API signing key's fingerprint. See SimpleAuthenticationDetailsProvider.getFingerprint() for more details.
- Parameters:
fingerprint- the OCI authentication fingerprint- Returns:
- updated builder instance
- See Also:
-
clearPrivateKey
Clear existing value of privateKey.- Returns:
- updated builder instance
- See Also:
-
privateKey
The OCI authentication private key resource. A resource can be defined as a resource on classpath, file on the file system, base64 encoded text value in config, or plain-text value in config.If not defined, we will use
.oci/oic_api_key.pemfile in user home directory.- Parameters:
privateKey- the OCI authentication key file- Returns:
- updated builder instance
- See Also:
-
privateKey
The OCI authentication private key resource. A resource can be defined as a resource on classpath, file on the file system, base64 encoded text value in config, or plain-text value in config.If not defined, we will use
.oci/oic_api_key.pemfile in user home directory.- Parameters:
privateKey- prototype of the OCI authentication key file- Returns:
- updated builder instance
- See Also:
-
privateKey
The OCI authentication private key resource. A resource can be defined as a resource on classpath, file on the file system, base64 encoded text value in config, or plain-text value in config.If not defined, we will use
.oci/oic_api_key.pemfile in user home directory.- Parameters:
consumer- consumer of builder of the OCI authentication key file- Returns:
- updated builder instance
- See Also:
-
privateKey
The OCI authentication private key resource. A resource can be defined as a resource on classpath, file on the file system, base64 encoded text value in config, or plain-text value in config.If not defined, we will use
.oci/oic_api_key.pemfile in user home directory.- Parameters:
supplier- supplier of the OCI authentication key file- Returns:
- updated builder instance
- See Also:
-
clearPassphrase
Clear existing value of passphrase.- Returns:
- updated builder instance
- See Also:
-
passphrase
The OCI authentication passphrase.This property must be provided in order to set the SimpleAuthenticationDetailsProvider.getPassphraseCharacters().
- Parameters:
passphrase- the OCI authentication passphrase- Returns:
- updated builder instance
- See Also:
-
passphrase
The OCI authentication passphrase.This property must be provided in order to set the SimpleAuthenticationDetailsProvider.getPassphraseCharacters().
- Parameters:
passphrase- the OCI authentication passphrase- Returns:
- updated builder instance
- See Also:
-
tenantId
The OCI tenant id.This property must be provided in order to set the SimpleAuthenticationDetailsProvider.getTenantId().
- Parameters:
tenantId- the OCI tenant id- Returns:
- updated builder instance
- See Also:
-
userId
The OCI user id.This property must be provided in order to set the SimpleAuthenticationDetailsProvider.getUserId().
- Parameters:
userId- the OCI user id- Returns:
- updated builder instance
- See Also:
-
region
The OCI region.- Returns:
- the OCI region
-
fingerprint
The OCI authentication fingerprint.This configuration property must be provided in order to set the API signing key's fingerprint. See SimpleAuthenticationDetailsProvider.getFingerprint() for more details.
- Returns:
- the OCI authentication fingerprint
-
privateKey
The OCI authentication private key resource. A resource can be defined as a resource on classpath, file on the file system, base64 encoded text value in config, or plain-text value in config.If not defined, we will use
.oci/oic_api_key.pemfile in user home directory.- Returns:
- the OCI authentication key file
-
passphrase
The OCI authentication passphrase.This property must be provided in order to set the SimpleAuthenticationDetailsProvider.getPassphraseCharacters().
- Returns:
- the OCI authentication passphrase
-
tenantId
The OCI tenant id.This property must be provided in order to set the SimpleAuthenticationDetailsProvider.getTenantId().
- Returns:
- the OCI tenant id
-
userId
The OCI user id.This property must be provided in order to set the SimpleAuthenticationDetailsProvider.getUserId().
- Returns:
- the OCI user id
-
toString
-
preBuildPrototype
protected void preBuildPrototype()Handles providers and decorators. -
validatePrototype
protected void validatePrototype()Validates required properties. -
config
Configuration used to configure this instance.- Returns:
- config instance
-
config(io.helidon.config.Config)