Class EnumDefinition
java.lang.Object
software.amazon.smithy.model.traits.EnumDefinition
- All Implemented Interfaces:
ToNode,Tagged,ToSmithyBuilder<EnumDefinition>
public final class EnumDefinition
extends Object
implements ToNode, ToSmithyBuilder<EnumDefinition>, Tagged
An enum definition for the enum trait.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic EnumDefinition.Builderbuilder()booleanstatic EnumDefinitiongetName()getTags()Gets the tags applied to an object.getValue()inthashCode()booleanTake this object and create a builder that contains all of the current property values of this object.toNode()Converts a value to aNode.
-
Method Details
-
builder
-
getValue
-
getName
-
getDocumentation
-
isDeprecated
public boolean isDeprecated() -
toNode
Description copied from interface:ToNodeConverts a value to aNode. -
fromNode
-
getTags
Description copied from interface:TaggedGets the tags applied to an object. -
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<EnumDefinition>- Returns:
- a builder for type T
-
equals
-
hashCode
public int hashCode()
-