Class ChangeTypes.Config
java.lang.Object
software.amazon.smithy.build.transforms.ChangeTypes.Config
- Enclosing class:
- ChangeTypes
flattenNamespaces
configuration settings.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setShapeTypes
(Map<ShapeId, ShapeType> shapeTypes) Sets the map of shape IDs to shape types to set.void
setSynthesizeEnumNames
(boolean synthesizeEnumNames) Sets whether to synthesize names for enums that don't already have them.
-
Constructor Details
-
Config
public Config()
-
-
Method Details
-
setShapeTypes
Sets the map of shape IDs to shape types to set.- Parameters:
shapeTypes
- Map of shape ID to shape type.
-
getShapeTypes
-
setSynthesizeEnumNames
public void setSynthesizeEnumNames(boolean synthesizeEnumNames) Sets whether to synthesize names for enums that don't already have them.- Parameters:
synthesizeEnumNames
- Whether to synthesize enum names.
-
getSynthesizeEnumNames
public boolean getSynthesizeEnumNames()
-