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 Summary
Constructors Constructor Description ShapeModifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getExclude()List<Map<String,Member>>getInject()List<Map<String,ModifyModelShapeModifier>>getModify()IntegergetStaxTargetDepthOffset()booleanisExcludeShape()BooleanisUnion()voidsetExclude(List<String> exclude)voidsetExcludeShape(boolean excludeShape)voidsetInject(List<Map<String,Member>> inject)voidsetModify(List<Map<String,ModifyModelShapeModifier>> modify)voidsetStaxTargetDepthOffset(Integer staxTargetDepthOffset)voidsetUnion(Boolean union)
-
-
-
Method Detail
-
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.
-
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.
-
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)
-
-