Class Parameters.Builder
- java.lang.Object
-
- software.amazon.smithy.rulesengine.language.RulesComponentBuilder<Parameters.Builder,Parameters>
-
- software.amazon.smithy.rulesengine.language.syntax.parameters.Parameters.Builder
-
- All Implemented Interfaces:
FromSourceLocation
,SmithyBuilder<Parameters>
- Enclosing class:
- Parameters
public static class Parameters.Builder extends RulesComponentBuilder<Parameters.Builder,Parameters>
A builder used to create aParameters
class.
-
-
Constructor Summary
Constructors Constructor Description Builder(FromSourceLocation sourceLocation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Parameters.Builder
addParameter(Parameter parameter)
Parameters
build()
Creates an immutable object that is created from the properties that have been set on the builder.-
Methods inherited from class software.amazon.smithy.rulesengine.language.RulesComponentBuilder
getSourceLocation, javaLocation, sourceLocation
-
-
-
-
Constructor Detail
-
Builder
public Builder(FromSourceLocation sourceLocation)
-
-
Method Detail
-
addParameter
public Parameters.Builder addParameter(Parameter parameter)
-
build
public Parameters 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
-
-