Class ChangeTypes.Config

java.lang.Object
software.amazon.smithy.build.transforms.ChangeTypes.Config
Enclosing class:
ChangeTypes

public static final class ChangeTypes.Config extends Object
flattenNamespaces configuration settings.
  • Constructor Details

    • Config

      public Config()
  • Method Details

    • setShapeTypes

      public void setShapeTypes(Map<software.amazon.smithy.model.shapes.ShapeId,software.amazon.smithy.model.shapes.ShapeType> shapeTypes)
      Sets the map of shape IDs to shape types to set.
      Parameters:
      shapeTypes - Map of shape ID to shape type.
    • getShapeTypes

      public Map<software.amazon.smithy.model.shapes.ShapeId,software.amazon.smithy.model.shapes.ShapeType> 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()