Class Parameter.Builder
java.lang.Object
software.amazon.smithy.rulesengine.language.util.SourceLocationTrackingBuilder<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 SourceLocationTrackingBuilder<Parameter.Builder,Parameter>
-
Field Summary
Fields inherited from class software.amazon.smithy.rulesengine.language.util.SourceLocationTrackingBuilder
sourceLocation
-
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
(Parameter.Deprecated deprecated) name
(Identifier name) required
(boolean required) sourceLocation
(SourceLocation value) type
(ParameterType type) Methods inherited from class software.amazon.smithy.rulesengine.language.util.SourceLocationTrackingBuilder
getSourceLocation, sourceLocation
-
Constructor Details
-
Builder
-
-
Method Details
-
type
-
deprecated
-
name
-
name
-
builtIn
-
value
-
value
-
defaultValue
-
sourceLocation
-
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
-