Class ShapeModifier

java.lang.Object
software.amazon.awssdk.codegen.model.config.customization.ShapeModifier

public class ShapeModifier extends Object
Use shapeModifiers customization to add/remove shape members or to modify the properties of a member.
  • Constructor Details

    • ShapeModifier

      public ShapeModifier()
  • Method Details

    • isExcludeShape

      public boolean isExcludeShape()
      Returns:
      true if the whole shape should be excluded.
    • setExcludeShape

      public void setExcludeShape(boolean excludeShape)
    • getExclude

      public List<String> getExclude()
      Returns:
      A list of member names that should be excluded when processing the given shape.
    • setExclude

      public void setExclude(List<String> exclude)
    • getModify

      public List<Map<String,ModifyModelShapeModifier>> getModify()
      Returns:
      List of singleton maps, each containing the name of a shape member, and the modifications that we want to apply to it.
    • setModify

      public void setModify(List<Map<String,ModifyModelShapeModifier>> modify)
    • getInject

      public List<Map<String,Member>> getInject()
      Returns:
      A list of singleton maps, each containing a custom member that we want to inject to this shape.
    • setInject

      public void setInject(List<Map<String,Member>> inject)
    • getStaxTargetDepthOffset

      public Integer getStaxTargetDepthOffset()
      Returns:
      the depth offset to use during staxUnmarshalling
    • setStaxTargetDepthOffset

      public void setStaxTargetDepthOffset(Integer staxTargetDepthOffset)
    • isUnion

      public Boolean isUnion()
    • setUnion

      public void setUnion(Boolean union)