Class EndpointRuleSetTrait.Builder
java.lang.Object
software.amazon.smithy.model.traits.AbstractTraitBuilder<EndpointRuleSetTrait,EndpointRuleSetTrait.Builder>
software.amazon.smithy.rulesengine.traits.EndpointRuleSetTrait.Builder
- All Implemented Interfaces:
SmithyBuilder<EndpointRuleSetTrait>
- Enclosing class:
- EndpointRuleSetTrait
public static final class EndpointRuleSetTrait.Builder
extends AbstractTraitBuilder<EndpointRuleSetTrait,EndpointRuleSetTrait.Builder>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates an immutable object that is created from the properties that have been set on the builder.classLoader(ClassLoader classLoader) Sets the classloader used to discover endpoint extensions when the rule-set is later materialized.Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
Method Details
-
ruleSet
-
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
Description copied from interface:SmithyBuilderCreates an immutable object that is created from the properties that have been set on the builder.- Returns:
- an instance of T
-