Class ConfigMethodConfig.BuilderBase.ConfigMethodConfigImpl

java.lang.Object
io.helidon.integrations.oci.ConfigMethodConfig.BuilderBase.ConfigMethodConfigImpl
All Implemented Interfaces:
Prototype.Api, ConfigMethodConfig
Enclosing class:
ConfigMethodConfig.BuilderBase<BUILDER extends ConfigMethodConfig.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends ConfigMethodConfig>

protected static class ConfigMethodConfig.BuilderBase.ConfigMethodConfigImpl extends Object implements ConfigMethodConfig
Generated implementation of the prototype, can be extended by descendant prototype implementations.
  • Constructor Details

    • ConfigMethodConfigImpl

      protected ConfigMethodConfigImpl(ConfigMethodConfig.BuilderBase<?,?> builder)
      Create an instance providing a builder.
      Parameters:
      builder - extending builder base of this prototype
  • Method Details

    • region

      public String region()
      Description copied from interface: ConfigMethodConfig
      The OCI region.
      Specified by:
      region in interface ConfigMethodConfig
      Returns:
      the OCI region
    • fingerprint

      public String fingerprint()
      Description copied from interface: ConfigMethodConfig
      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.

      Specified by:
      fingerprint in interface ConfigMethodConfig
      Returns:
      the OCI authentication fingerprint
    • privateKey

      public Optional<Resource> privateKey()
      Description copied from interface: ConfigMethodConfig
      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.

      Specified by:
      privateKey in interface ConfigMethodConfig
      Returns:
      the OCI authentication key file
    • passphrase

      public Optional<char[]> passphrase()
      Description copied from interface: ConfigMethodConfig
      The OCI authentication passphrase.

      This property must be provided in order to set the SimpleAuthenticationDetailsProvider.getPassphraseCharacters().

      Specified by:
      passphrase in interface ConfigMethodConfig
      Returns:
      the OCI authentication passphrase
    • tenantId

      public String tenantId()
      Description copied from interface: ConfigMethodConfig
      The OCI tenant id.

      This property must be provided in order to set the SimpleAuthenticationDetailsProvider.getTenantId().

      Specified by:
      tenantId in interface ConfigMethodConfig
      Returns:
      the OCI tenant id
    • userId

      public String userId()
      Description copied from interface: ConfigMethodConfig
      The OCI user id.

      This property must be provided in order to set the SimpleAuthenticationDetailsProvider.getUserId().

      Specified by:
      userId in interface ConfigMethodConfig
      Returns:
      the OCI user id
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object