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
public static class SyntheticEnumTrait.Builder extends EnumTrait.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SyntheticEnumTrait
build()
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
-
-
-
-
Method Detail
-
build
public SyntheticEnumTrait 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
-
-