Class ChangeTypes.Config

  • Enclosing class:
    ChangeTypes

    public static final class ChangeTypes.Config
    extends java.lang.Object
    flattenNamespaces configuration settings.
    • Constructor Summary

      Constructors 
      Constructor Description
      Config()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<software.amazon.smithy.model.shapes.ShapeId,​software.amazon.smithy.model.shapes.ShapeType> getShapeTypes()  
      boolean getSynthesizeEnumNames()  
      void setShapeTypes​(java.util.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.
      void setSynthesizeEnumNames​(boolean synthesizeEnumNames)
      Sets whether to synthesize names for enums that don't already have them.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Config

        public Config()
    • Method Detail

      • setShapeTypes

        public void setShapeTypes​(java.util.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 java.util.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()