Class OciConfig.BuilderBase.OciConfigImpl

java.lang.Object
io.helidon.integrations.oci.sdk.runtime.OciConfig.BuilderBase.OciConfigImpl
All Implemented Interfaces:
Prototype.Api, OciConfig
Enclosing class:
OciConfig.BuilderBase<BUILDER extends OciConfig.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends OciConfig>

protected static class OciConfig.BuilderBase.OciConfigImpl extends Object implements OciConfig
Generated implementation of the prototype, can be extended by descendant prototype implementations.
  • Field Details

    • CONFIG_KEY

      static final String CONFIG_KEY
      Deprecated, for removal: This API element is subject to removal in a future version.
      Config key of this config.
      See Also:
    • IMDS_HOSTNAME

      static final String IMDS_HOSTNAME
      Deprecated, for removal: This API element is subject to removal in a future version.
      Primary hostname of metadata service.
      See Also:
    • DEFAULT_PROFILE_NAME

      static final String DEFAULT_PROFILE_NAME
      Deprecated, for removal: This API element is subject to removal in a future version.
      Redefine the constant, as it is private in BMC.
      See Also:
  • Constructor Details

    • OciConfigImpl

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

    • authStrategy

      public Optional<String> authStrategy()
    • authStrategies

      public List<String> authStrategies()
    • configPath

      public Optional<String> configPath()
    • configProfile

      public Optional<String> configProfile()
    • authFingerprint

      public Optional<String> authFingerprint()
    • authKeyFile

      public String authKeyFile()
    • authPrivateKeyPath

      public Optional<String> authPrivateKeyPath()
    • authPrivateKey

      public Optional<char[]> authPrivateKey()
    • authPassphrase

      public Optional<char[]> authPassphrase()
    • authRegion

      public Optional<String> authRegion()
    • authTenantId

      public Optional<String> authTenantId()
    • authUserId

      public Optional<String> authUserId()
    • imdsHostName

      public String imdsHostName()
    • imdsTimeout

      public Duration imdsTimeout()
    • 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
    • potentialAuthStrategies

      default List<String> potentialAuthStrategies()
      Deprecated, for removal: This API element is subject to removal in a future version.
      The list of OciAuthenticationDetailsProvider.AuthStrategy names (excluding OciAuthenticationDetailsProvider.AuthStrategy.AUTO) that are potentially applicable for use. Here, "potentially applicable for use" means that it is set using the authStrategy() attribute on this config bean. If not present then the fall-back looks to use the values explicitly or implicitly set by authStrategies(). Note that the order of this list is important as it pertains to the search/strategy ordering.
      Returns:
      the list of potential auth strategies that are applicable
    • fileConfigIsPresent

      default boolean fileConfigIsPresent()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Determines whether sufficient configuration is present on this bean to be used for OCI's "file-based" authentication provider. This matches to the OciAuthenticationDetailsProvider.AuthStrategy.CONFIG_FILE.
      Returns:
      true if there is sufficient attributes defined for file-based OCI authentication provider applicability
      See Also:
      • OciAuthenticationDetailsProvider
      • ConfigFileAuthenticationDetailsProvider
    • simpleConfigIsPresent

      default boolean simpleConfigIsPresent()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Determines whether sufficient configuration is present on this bean to be used for OCI's "simple" authentication provider. This matches to the OciAuthenticationDetailsProvider.AuthStrategy.CONFIG.
      Returns:
      true if there is sufficient attributes defined for simple OCI authentication provider applicability
      See Also:
      • OciAuthenticationDetailsProvider