Class OciCertificateBundleTlsManagerConfig.BuilderBase<BUILDER extends OciCertificateBundleTlsManagerConfig.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends OciCertificateBundleTlsManagerConfig>

java.lang.Object
io.helidon.integrations.oci.tls.certificates.OciCertificateBundleTlsManagerConfig.BuilderBase<BUILDER,PROTOTYPE>
Type Parameters:
BUILDER - type of the builder extending this abstract builder
PROTOTYPE - type of the prototype interface that would be built by Prototype.Builder.buildPrototype()
All Implemented Interfaces:
Prototype.Builder<BUILDER,PROTOTYPE>, ConfigBuilderSupport.ConfiguredBuilder<BUILDER,PROTOTYPE>, ConfigBuilderSupport.ConfiguredBuilder<BUILDER,PROTOTYPE>
Direct Known Subclasses:
OciCertificateBundleTlsManagerConfig.Builder
Enclosing interface:
OciCertificateBundleTlsManagerConfig

public abstract static class OciCertificateBundleTlsManagerConfig.BuilderBase<BUILDER extends OciCertificateBundleTlsManagerConfig.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends OciCertificateBundleTlsManagerConfig> extends Object implements ConfigBuilderSupport.ConfiguredBuilder<BUILDER,PROTOTYPE>
Fluent API builder base for OciCertificateBundleTlsManagerConfig.
  • 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 public BUILDER config(Config 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 interface ConfigBuilderSupport.ConfiguredBuilder<BUILDER extends OciCertificateBundleTlsManagerConfig.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends OciCertificateBundleTlsManagerConfig>
      Parameters:
      config - configuration instance used to obtain values to update this builder
      Returns:
      updated builder instance
    • config

      public BUILDER config(Config 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 interface ConfigBuilderSupport.ConfiguredBuilder<BUILDER extends OciCertificateBundleTlsManagerConfig.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends OciCertificateBundleTlsManagerConfig>
      Parameters:
      config - configuration instance used to obtain values to update this builder
      Returns:
      updated builder instance
    • schedule

      public BUILDER schedule(String schedule)
      The schedule for checking whether OCI has newer TLS material.
      Parameters:
      schedule - the schedule for reload
      Returns:
      updated builder instance
      See Also:
    • alwaysReload

      public BUILDER alwaysReload(boolean alwaysReload)
      Whether to reload TLS even when the certificate version and CA certificate are unchanged.
      Parameters:
      alwaysReload - whether unchanged material should still be reloaded
      Returns:
      updated builder instance
      See Also:
    • caOcid

      public BUILDER caOcid(String caOcid)
      The certificate authority OCID.
      Parameters:
      caOcid - certificate authority OCID
      Returns:
      updated builder instance
      See Also:
    • certOcid

      public BUILDER certOcid(String certOcid)
      The OCI-managed certificate OCID.
      Parameters:
      certOcid - certificate OCID
      Returns:
      updated builder instance
      See Also:
    • schedule

      public Optional<String> schedule()
      The schedule for checking whether OCI has newer TLS material.
      Returns:
      the schedule for reload
    • alwaysReload

      public boolean alwaysReload()
      Whether to reload TLS even when the certificate version and CA certificate are unchanged.
      Returns:
      whether unchanged material should still be reloaded
    • caOcid

      public Optional<String> caOcid()
      The certificate authority OCID.
      Returns:
      certificate authority OCID
    • certOcid

      public Optional<String> certOcid()
      The OCI-managed certificate OCID.
      Returns:
      certificate OCID
    • toString

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

      protected void preBuildPrototype()
      Handles providers and decorators.
    • validatePrototype

      protected void validatePrototype()
      Validates required properties.
    • config

      protected Optional<Config> config()
      Configuration used to configure this instance.
      Returns:
      config instance