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
-
Method Summary
Modifier and TypeMethodDescriptionstatic EnumDefinition.Builder
builder()
boolean
static EnumDefinition
getName()
getTags()
Gets the tags applied to an object.getValue()
int
hashCode()
boolean
Take 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:ToNode
Converts a value to aNode
. -
fromNode
-
getTags
Description copied from interface:Tagged
Gets the tags applied to an object. -
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<EnumDefinition>
- Returns:
- a builder for type T
-
equals
-
hashCode
public int hashCode()
-