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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StaticContextParamsTrait
build()
Creates an immutable object that is created from the properties that have been set on the builder.StaticContextParamsTrait.Builder
clearParameters()
StaticContextParamsTrait.Builder
parameters(java.util.Map<java.lang.String,StaticContextParamDefinition> parameters)
StaticContextParamsTrait.Builder
putParameter(java.lang.String name, StaticContextParamDefinition definition)
StaticContextParamsTrait.Builder
removeParameter(java.lang.String name)
-
Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
-
-
-
Method Detail
-
parameters
public StaticContextParamsTrait.Builder parameters(java.util.Map<java.lang.String,StaticContextParamDefinition> parameters)
-
putParameter
public StaticContextParamsTrait.Builder putParameter(java.lang.String name, StaticContextParamDefinition definition)
-
removeParameter
public StaticContextParamsTrait.Builder removeParameter(java.lang.String name)
-
clearParameters
public StaticContextParamsTrait.Builder clearParameters()
-
build
public StaticContextParamsTrait 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
-
-