public static final class EnumTrait.Builder extends AbstractTraitBuilder<EnumTrait,EnumTrait.Builder>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
EnumTrait.Builder |
addEnum(EnumDefinition value) |
EnumTrait |
build()
Creates an immutable object that is created from the properties
that have been set on the builder.
|
EnumTrait.Builder |
clearEnums() |
EnumTrait.Builder |
removeEnum(java.lang.String value) |
EnumTrait.Builder |
removeEnumByName(java.lang.String name) |
getSourceLocation, sourceLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requiredState
public EnumTrait.Builder addEnum(EnumDefinition value)
public EnumTrait.Builder removeEnum(java.lang.String value)
public EnumTrait.Builder removeEnumByName(java.lang.String name)
public EnumTrait.Builder clearEnums()
public EnumTrait build()
SmithyBuilder