Class EnumVariantSection
- java.lang.Object
-
- software.amazon.smithy.traitcodegen.sections.EnumVariantSection
-
- All Implemented Interfaces:
CodeSection
public final class EnumVariantSection extends java.lang.Object implements CodeSection
Contains an enum variant.
-
-
Constructor Summary
Constructors Constructor Description EnumVariantSection(MemberShape memberShape)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MemberShape
memberShape()
MemberShape
that this enum variant represents.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.smithy.utils.CodeSection
sectionName
-
-
-
-
Constructor Detail
-
EnumVariantSection
public EnumVariantSection(MemberShape memberShape)
-
-
Method Detail
-
memberShape
public MemberShape memberShape()
MemberShape
that this enum variant represents.
-
-