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

java.lang.Object
io.helidon.integrations.oci.tls.certificates.OciCertificatesTlsManagerConfig.BuilderBase<BUILDER,PROTOTYPE>
Type Parameters:
BUILDER - type of the builder extending this abstract builder
PROTOTYPE - type of the prototype interface
Direct Known Subclasses:
OciCertificatesTlsManagerConfig.Builder
Enclosing interface:
OciCertificatesTlsManagerConfig

public abstract static class OciCertificatesTlsManagerConfig.BuilderBase<BUILDER extends OciCertificatesTlsManagerConfig.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends OciCertificatesTlsManagerConfig> extends Object
Fluent API builder base for OciCertificatesTlsManager.
  • Constructor Details

    • BuilderBase

      protected BuilderBase()
      Protected to support extensibility.
  • Method Details

    • from

      public BUILDER from(OciCertificatesTlsManagerConfig prototype)
      Update this builder from an existing prototype instance.
      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

      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.
      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 trigger a reload check, testing whether there is a new SSLContext instance available.
      Parameters:
      schedule - the schedule for reload
      Returns:
      updated builder instance
      See Also:
    • vaultCryptoEndpoint

      public BUILDER vaultCryptoEndpoint(URI vaultCryptoEndpoint)
      The address to use for the OCI Key Management Service / Vault crypto usage. Each OCI Vault has public crypto and management endpoints. We need to specify the crypto endpoint of the vault we are rotating the private keys in. The implementation expects both client and server to store the private key in the same vault.
      Parameters:
      vaultCryptoEndpoint - the address for the key management service / vault crypto usage
      Returns:
      updated builder instance
      See Also:
    • clearVaultManagementEndpoint

      public BUILDER clearVaultManagementEndpoint()
      Clear existing value of this property.
      Returns:
      updated builder instance
      See Also:
    • vaultManagementEndpoint

      public BUILDER vaultManagementEndpoint(URI vaultManagementEndpoint)
      The address to use for the OCI Key Management Service / Vault management usage. The crypto endpoint of the vault we are rotating the private keys in.
      Parameters:
      vaultManagementEndpoint - the address for the key management service / vault management usage
      Returns:
      updated builder instance
      See Also:
    • clearCompartmentOcid

      public BUILDER clearCompartmentOcid()
      Clear existing value of this property.
      Returns:
      updated builder instance
      See Also:
    • compartmentOcid

      public BUILDER compartmentOcid(String compartmentOcid)
      The OCID of the compartment the services are in.
      Parameters:
      compartmentOcid - the compartment OCID
      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 Certificate OCID.
      Parameters:
      certOcid - certificate OCID
      Returns:
      updated builder instance
      See Also:
    • keyOcid

      public BUILDER keyOcid(String keyOcid)
      The Key OCID.
      Parameters:
      keyOcid - key OCID
      Returns:
      updated builder instance
      See Also:
    • keyPassword

      public BUILDER keyPassword(Supplier<char[]> keyPassword)
      The Key password.
      Parameters:
      keyPassword - key password
      Returns:
      updated builder instance
      See Also:
    • keyPassword

      public BUILDER keyPassword(char[] keyPassword)
      The Key password.
      Parameters:
      keyPassword - key password
      Returns:
      updated builder instance
      See Also:
    • keyPassword

      public BUILDER keyPassword(String keyPassword)
      The Key password.
      Parameters:
      keyPassword - key password
      Returns:
      updated builder instance
      See Also:
    • schedule

      public Optional<String> schedule()
      The schedule for trigger a reload check, testing whether there is a new SSLContext instance available.
      Returns:
      the schedule
    • vaultCryptoEndpoint

      public Optional<URI> vaultCryptoEndpoint()
      The address to use for the OCI Key Management Service / Vault crypto usage. Each OCI Vault has public crypto and management endpoints. We need to specify the crypto endpoint of the vault we are rotating the private keys in. The implementation expects both client and server to store the private key in the same vault.
      Returns:
      the vault crypto endpoint
    • vaultManagementEndpoint

      public Optional<URI> vaultManagementEndpoint()
      The address to use for the OCI Key Management Service / Vault management usage. The crypto endpoint of the vault we are rotating the private keys in.
      Returns:
      the vault management endpoint
    • compartmentOcid

      public Optional<String> compartmentOcid()
      The OCID of the compartment the services are in.
      Returns:
      the compartment ocid
    • caOcid

      public Optional<String> caOcid()
      The Certificate Authority OCID.
      Returns:
      the ca ocid
    • certOcid

      public Optional<String> certOcid()
      The Certificate OCID.
      Returns:
      the cert ocid
    • keyOcid

      public Optional<String> keyOcid()
      The Key OCID.
      Returns:
      the key ocid
    • keyPassword

      public Optional<Supplier<char[]>> keyPassword()
      The Key password.
      Returns:
      the key password
    • config

      public Optional<Config> 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

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

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

      protected void validatePrototype()
      Validates required properties.