Class EnumDefinition.Builder
java.lang.Object
software.amazon.smithy.model.traits.EnumDefinition.Builder
- All Implemented Interfaces:
SmithyBuilder<EnumDefinition>
- Enclosing class:
- EnumDefinition
public static final class EnumDefinition.Builder
extends Object
implements SmithyBuilder<EnumDefinition>
Builds a
EnumDefinition
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates an immutable object that is created from the properties that have been set on the builder.deprecated
(boolean deprecated) documentation
(String documentation) tags
(Collection<String> tags)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Specified by:
build
in interfaceSmithyBuilder<EnumDefinition>
- Returns:
- an instance of T
-
value
-
name
-
documentation
-
tags
-
addTag
-
clearTags
-
deprecated
-