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
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnumValueTrait
build()
Creates an immutable object that is created from the properties that have been set on the builder.EnumValueTrait.Builder
intValue(int integer)
EnumValueTrait.Builder
stringValue(java.lang.String string)
-
Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
-
-
-
Method Detail
-
build
public EnumValueTrait 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
public EnumValueTrait.Builder stringValue(java.lang.String string)
-
intValue
public EnumValueTrait.Builder intValue(int integer)
-
-