Class Parameter.Builder
java.lang.Object
software.amazon.smithy.rulesengine.language.RulesComponentBuilder<Parameter.Builder,Parameter>
software.amazon.smithy.rulesengine.language.syntax.parameters.Parameter.Builder
- All Implemented Interfaces:
FromSourceLocation
,SmithyBuilder<Parameter>
- Enclosing class:
- Parameter
public static final class Parameter.Builder
extends RulesComponentBuilder<Parameter.Builder,Parameter>
A builder used to create a
Parameter
class.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates an immutable object that is created from the properties that have been set on the builder.defaultValue
(Value defaultValue) deprecated
(Deprecated deprecated) name
(Identifier name) required
(boolean required) type
(ParameterType type) Methods inherited from class software.amazon.smithy.rulesengine.language.RulesComponentBuilder
getSourceLocation, javaLocation, sourceLocation
-
Constructor Details
-
Builder
-
-
Method Details
-
type
-
deprecated
-
name
-
name
-
builtIn
-
value
-
value
-
defaultValue
-
required
-
documentation
-
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
-