public final class EnumDefinition extends java.lang.Object implements ToNode, ToSmithyBuilder<EnumDefinition>, Tagged
Modifier and Type | Class and Description |
---|---|
static class |
EnumDefinition.Builder
Builds a
EnumDefinition . |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEPRECATED |
static java.lang.String |
DOCUMENTATION |
static java.lang.String |
NAME |
static java.lang.String |
TAGS |
static java.lang.String |
VALUE |
Modifier and Type | Method and Description |
---|---|
static EnumDefinition.Builder |
builder() |
boolean |
equals(java.lang.Object other) |
static EnumDefinition |
fromNode(Node node) |
java.util.Optional<java.lang.String> |
getDocumentation() |
java.util.Optional<java.lang.String> |
getName() |
java.util.List<java.lang.String> |
getTags()
Gets the tags applied to an object.
|
java.lang.String |
getValue() |
int |
hashCode() |
boolean |
isDeprecated() |
EnumDefinition.Builder |
toBuilder()
Take this object and create a builder that contains all of the
current property values of this object.
|
Node |
toNode()
Converts a value to a
Node . |
public static final java.lang.String VALUE
public static final java.lang.String NAME
public static final java.lang.String DOCUMENTATION
public static final java.lang.String TAGS
public static final java.lang.String DEPRECATED
public static EnumDefinition.Builder builder()
public java.lang.String getValue()
public java.util.Optional<java.lang.String> getName()
public java.util.Optional<java.lang.String> getDocumentation()
public boolean isDeprecated()
public static EnumDefinition fromNode(Node node)
public java.util.List<java.lang.String> getTags()
Tagged
public EnumDefinition.Builder toBuilder()
ToSmithyBuilder
toBuilder
in interface ToSmithyBuilder<EnumDefinition>
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object