Class EnumDefinition
java.lang.Object
software.amazon.smithy.model.traits.EnumDefinition
- All Implemented Interfaces:
ToNode
,software.amazon.smithy.utils.Tagged
,software.amazon.smithy.utils.ToSmithyBuilder<EnumDefinition>
public final class EnumDefinition
extends Object
implements ToNode, software.amazon.smithy.utils.ToSmithyBuilder<EnumDefinition>, software.amazon.smithy.utils.Tagged
An enum definition for the enum trait.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic EnumDefinition.Builder
builder()
boolean
static EnumDefinition
getName()
getTags()
getValue()
int
hashCode()
boolean
toNode()
Converts a value to aNode
.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.smithy.utils.Tagged
hasTag
-
Method Details
-
builder
-
getValue
-
getName
-
getDocumentation
-
isDeprecated
public boolean isDeprecated() -
toNode
Description copied from interface:ToNode
Converts a value to aNode
. -
fromNode
-
getTags
- Specified by:
getTags
in interfacesoftware.amazon.smithy.utils.Tagged
-
toBuilder
- Specified by:
toBuilder
in interfacesoftware.amazon.smithy.utils.ToSmithyBuilder<EnumDefinition>
-
equals
-
hashCode
public int hashCode()
-