Class SyntheticEnumTrait.Builder
java.lang.Object
software.amazon.smithy.model.traits.AbstractTraitBuilder<EnumTrait,EnumTrait.Builder>
software.amazon.smithy.model.traits.EnumTrait.Builder
software.amazon.smithy.model.traits.synthetic.SyntheticEnumTrait.Builder
- All Implemented Interfaces:
SmithyBuilder<EnumTrait>
- Enclosing class:
- SyntheticEnumTrait
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates an immutable object that is created from the properties that have been set on the builder.Methods inherited from class software.amazon.smithy.model.traits.EnumTrait.Builder
addEnum, clearEnums, removeEnum, removeEnumByName
Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
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<EnumTrait>
- Overrides:
build
in classEnumTrait.Builder
- Returns:
- an instance of T
-