Interface EurekaRegistrationConfig

All Superinterfaces:
Prototype.Api, Prototype.Factory<EurekaRegistrationServerFeature>
All Known Implementing Classes:
EurekaRegistrationConfig.BuilderBase.EurekaRegistrationConfigImpl

public interface EurekaRegistrationConfig extends Prototype.Api
A prototype for EurekaRegistrationServerFeature runtime type instances.

Most users will never need to programmatically interact with any of the classes in this package.

See Also:
  • 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

      static EurekaRegistrationConfig create(Config config)
      Create a new instance from configuration.
      Parameters:
      config - used to configure the new instance
      Returns:
      a new instance configured from configuration
    • create

      static EurekaRegistrationConfig create()
      Create a new instance with default values.
      Returns:
      a new instance
    • clientBuilderSupplier

      Supplier<Http1ClientConfig.Builder> clientBuilderSupplier()
      An Http1ClientConfig.Builder used to build an internal client for communicating with a Eureka server.

      An Http1ClientConfig built from the supplied builder must have its HttpClientConfigBlueprint.baseUri() property set to address a Eureka Server instance.

      Returns:
      an Http1ClientConfig.Builder
    • instanceInfo

      InstanceInfoConfig instanceInfo()
      An InstanceInfoConfig describing the service instance to be registered.
      Returns:
      the InstanceInfoConfig describing the service instance to be registered
      See Also:
    • jsonBuilderFactory

      JsonBuilderFactory jsonBuilderFactory()
      A JsonBuilderFactory used for working with JSON internally; the default value is normally entirely suitable.
      Returns:
      a JsonBuilderFactory
    • enabled

      boolean enabled()
      Whether this feature will be enabled.
      Returns:
      whether this feature will be enabled
    • name

      String name()
      The non-null name of this instance; "eureka" is a default value.
      Returns:
      the non-null name of this instance; "eureka" is a default value
    • weight

      double weight()
      The (zero or positive) weight of this instance.
      Returns:
      the (zero or positive) weight of this instance