- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
ConfigMethodConfig.BuilderBase.ConfigMethodConfigImpl
Configuration of the
config authentication method.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forConfigMethodConfig.static classConfigMethodConfig.BuilderBase<BUILDER extends ConfigMethodConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ConfigMethodConfig> Fluent API builder base forConfigMethodConfig. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigMethodConfig.Builderbuilder()Create a new fluent API builder to customize configuration.static ConfigMethodConfig.Builderbuilder(ConfigMethodConfig instance) Create a new fluent API builder from an existing instance.static ConfigMethodConfigcreate()Create a new instance with default values.static ConfigMethodConfigDeprecated.static ConfigMethodConfigCreate a new instance from configuration.The OCI authentication fingerprint.Optional<char[]> The OCI authentication passphrase.The OCI authentication private key resource.region()The OCI region.tenantId()The OCI tenant id.userId()The OCI user id.
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance from configuration.- Parameters:
config- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Deprecated.Create a new instance from configuration.- Parameters:
config- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Create a new instance with default values.- Returns:
- a new instance
-
region
String region()The OCI region.- Returns:
- the OCI region
-
fingerprint
String 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
Optional<char[]> passphrase()The OCI authentication passphrase.This property must be provided in order to set the SimpleAuthenticationDetailsProvider.getPassphraseCharacters().
- Returns:
- the OCI authentication passphrase
-
tenantId
String tenantId()The OCI tenant id.This property must be provided in order to set the SimpleAuthenticationDetailsProvider.getTenantId().
- Returns:
- the OCI tenant id
-
userId
String userId()The OCI user id.This property must be provided in order to set the SimpleAuthenticationDetailsProvider.getUserId().
- Returns:
- the OCI user id
-
create(io.helidon.config.Config)