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 SummaryNested Classes
- 
Method SummaryModifier 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
- 
isDeprecatedpublic boolean isDeprecated()
- 
toNodeDescription copied from interface:ToNodeConverts a value to aNode.
- 
fromNode
- 
getTagsDescription copied from interface:TaggedGets the tags applied to an object.
- 
toBuilderDescription copied from interface:ToSmithyBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToSmithyBuilder<EnumDefinition>
- Returns:
- a builder for type T
 
- 
equals
- 
hashCodepublic int hashCode()
 
-