Class EndpointRuleSetTrait.Builder

All Implemented Interfaces:
SmithyBuilder<EndpointRuleSetTrait>
Enclosing class:
EndpointRuleSetTrait

public static final class EndpointRuleSetTrait.Builder extends AbstractTraitBuilder<EndpointRuleSetTrait,EndpointRuleSetTrait.Builder>
  • Method Details

    • ruleSet

      public EndpointRuleSetTrait.Builder ruleSet(Node ruleSet)
    • classLoader

      public EndpointRuleSetTrait.Builder classLoader(ClassLoader classLoader)
      Sets the classloader used to discover endpoint extensions when the rule-set is later materialized. Typically the classloader used to assemble the model. May be null.
      Parameters:
      classLoader - the classloader, or null.
      Returns:
      this builder.
    • build

      public EndpointRuleSetTrait build()
      Description copied from interface: SmithyBuilder
      Creates an immutable object that is created from the properties that have been set on the builder.
      Returns:
      an instance of T