Class Parameters
java.lang.Object
software.amazon.smithy.rulesengine.language.syntax.parameters.Parameters
- All Implemented Interfaces:
FromSourceLocation
,ToNode
,ToSmithyBuilder<Parameters>
public final class Parameters
extends Object
implements FromSourceLocation, ToNode, ToSmithyBuilder<Parameters>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Parameters.Builder
builder()
boolean
static Parameters
fromNode
(ObjectNode node) get
(Identifier name) Gets the source location of a value.int
hashCode()
Take this object and create a builder that contains all of the current property values of this object.toList()
toNode()
Converts a value to aNode
.toString()
void
writeToScope
(Scope<Type> scope)
-
Constructor Details
-
Parameters
-
-
Method Details
-
builder
-
fromNode
- Throws:
RuleError
-
writeToScope
-
hashCode
public int hashCode() -
equals
-
toString
-
toBuilder
Description copied from interface:ToSmithyBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToSmithyBuilder<Parameters>
- Returns:
- a builder for type T
-
toList
-
getSourceLocation
Description copied from interface:FromSourceLocation
Gets the source location of a value.- Specified by:
getSourceLocation
in interfaceFromSourceLocation
- Returns:
- Returns the source location of the value.
-
get
-
toNode
Description copied from interface:ToNode
Converts a value to aNode
.
-