Class StaticContextParamsTrait.Builder
java.lang.Object
software.amazon.smithy.model.traits.AbstractTraitBuilder<StaticContextParamsTrait,StaticContextParamsTrait.Builder>
software.amazon.smithy.rulesengine.traits.StaticContextParamsTrait.Builder
- All Implemented Interfaces:
SmithyBuilder<StaticContextParamsTrait>
- Enclosing class:
- StaticContextParamsTrait
public static final class StaticContextParamsTrait.Builder
extends AbstractTraitBuilder<StaticContextParamsTrait,StaticContextParamsTrait.Builder>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates an immutable object that is created from the properties that have been set on the builder.parameters
(Map<String, StaticContextParamDefinition> parameters) putParameter
(String name, StaticContextParamDefinition definition) removeParameter
(String name) Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
Method Details
-
parameters
public StaticContextParamsTrait.Builder parameters(Map<String, StaticContextParamDefinition> parameters) -
putParameter
public StaticContextParamsTrait.Builder putParameter(String name, StaticContextParamDefinition definition) -
removeParameter
-
clearParameters
-
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
-