public static final class EnumDefinition.Builder extends java.lang.Object implements SmithyBuilder<EnumDefinition>
EnumDefinition
.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
EnumDefinition.Builder |
addTag(java.lang.String tag) |
EnumDefinition |
build()
Creates an immutable object that is created from the properties
that have been set on the builder.
|
EnumDefinition.Builder |
clearTags() |
EnumDefinition.Builder |
deprecated(boolean deprecated) |
EnumDefinition.Builder |
documentation(java.lang.String documentation) |
EnumDefinition.Builder |
name(java.lang.String name) |
EnumDefinition.Builder |
tags(java.util.Collection<java.lang.String> tags) |
EnumDefinition.Builder |
value(java.lang.String value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requiredState
public EnumDefinition build()
SmithyBuilder
build
in interface SmithyBuilder<EnumDefinition>
public EnumDefinition.Builder value(java.lang.String value)
public EnumDefinition.Builder name(java.lang.String name)
public EnumDefinition.Builder documentation(java.lang.String documentation)
public EnumDefinition.Builder tags(java.util.Collection<java.lang.String> tags)
public EnumDefinition.Builder addTag(java.lang.String tag)
public EnumDefinition.Builder clearTags()
public EnumDefinition.Builder deprecated(boolean deprecated)