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> Prototype.ConfiguredBuilder<BUILDER,
PROTOTYPE>
- Direct Known Subclasses:
ConfigMethodConfig.Builder
- Enclosing interface:
ConfigMethodConfig
ConfigMethodConfig
.-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
Generated implementation of the prototype, can be extended by descendant prototype implementations. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionClear existing value of this property.Clear existing value of this property.config()
If this instance was configured, this would be the config instance used.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 void
Handles providers and decorators.The OCI authentication private key resource.privateKey
(Resource privateKey) The OCI authentication private key resource.privateKey
(ResourceConfig privateKeyConfig) The OCI authentication private key resource.privateKey
(Consumer<ResourceConfig.Builder> consumer) 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 void
Validates required properties.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.helidon.builder.api.Prototype.Builder
buildPrototype, self
Methods inherited from interface io.helidon.builder.api.Prototype.ConfiguredBuilder
discoverService, discoverServices
-
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
Update builder from configuration (node of this type). If a value is present in configuration, it would override currently configured values.- Specified by:
config
in interfacePrototype.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 this property.- 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.pem
file 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.pem
file in user home directory.- Parameters:
privateKeyConfig
- 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.pem
file in user home directory.- Parameters:
consumer
- the OCI authentication key file- Returns:
- updated builder instance
- See Also:
-
clearPassphrase
Clear existing value of this property.- 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 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 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.pem
file in user home directory.- Returns:
- the private key
-
passphrase
The OCI authentication passphrase.This property must be provided in order to set the SimpleAuthenticationDetailsProvider.getPassphraseCharacters().
- Returns:
- the passphrase
-
tenantId
The OCI tenant id.This property must be provided in order to set the SimpleAuthenticationDetailsProvider.getTenantId().
- Returns:
- the tenant id
-
userId
The OCI user id.This property must be provided in order to set the SimpleAuthenticationDetailsProvider.getUserId().
- Returns:
- the user id
-
config
If this instance was configured, this would be the config instance used.- Returns:
- config node used to configure this builder, or empty if not configured
-
toString
-
preBuildPrototype
protected void preBuildPrototype()Handles providers and decorators. -
validatePrototype
protected void validatePrototype()Validates required properties.
-