Class ContextParamTrait.Builder
- java.lang.Object
-
- software.amazon.smithy.model.traits.AbstractTraitBuilder<ContextParamTrait,ContextParamTrait.Builder>
-
- software.amazon.smithy.rulesengine.traits.ContextParamTrait.Builder
-
- All Implemented Interfaces:
SmithyBuilder<ContextParamTrait>
- Enclosing class:
- ContextParamTrait
public static final class ContextParamTrait.Builder extends AbstractTraitBuilder<ContextParamTrait,ContextParamTrait.Builder>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContextParamTrait
build()
Creates an immutable object that is created from the properties that have been set on the builder.ContextParamTrait.Builder
name(java.lang.String name)
-
Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
-
-
-
Method Detail
-
name
public ContextParamTrait.Builder name(java.lang.String name)
-
build
public ContextParamTrait 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
-
-