Class EnumValueTrait.Builder
java.lang.Object
software.amazon.smithy.model.traits.AbstractTraitBuilder<EnumValueTrait,EnumValueTrait.Builder>
software.amazon.smithy.model.traits.EnumValueTrait.Builder
- All Implemented Interfaces:
SmithyBuilder<EnumValueTrait>
- Enclosing class:
- EnumValueTrait
public static final class EnumValueTrait.Builder
extends AbstractTraitBuilder<EnumValueTrait,EnumValueTrait.Builder>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates an immutable object that is created from the properties that have been set on the builder.intValue
(int integer) stringValue
(String string) 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.- Returns:
- an instance of T
-
stringValue
-
intValue
-