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
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Parameters.Builderbuilder()booleanstatic ParametersfromNode(ObjectNode node) get(Identifier name) Gets the source location of a value.inthashCode()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()voidwriteToScope(Scope<Type> scope)
-
Constructor Details
-
Parameters
-
-
Method Details
-
builder
-
fromNode
- Throws:
RuleError
-
writeToScope
-
hashCode
public int hashCode() -
equals
-
toString
-
toBuilder
Description copied from interface:ToSmithyBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToSmithyBuilder<Parameters>- Returns:
- a builder for type T
-
toList
-
getSourceLocation
Description copied from interface:FromSourceLocationGets the source location of a value.- Specified by:
getSourceLocationin interfaceFromSourceLocation- Returns:
- Returns the source location of the value.
-
get
-
toNode
Description copied from interface:ToNodeConverts a value to aNode.
-