Class ShapeModifier
java.lang.Object
software.amazon.awssdk.codegen.model.config.customization.ShapeModifier
Use shapeModifiers customization to add/remove shape members or to modify the
properties of a member.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isUnion()
void
setExclude
(List<String> exclude) void
setExcludeShape
(boolean excludeShape) void
void
setModify
(List<Map<String, ModifyModelShapeModifier>> modify) void
setStaxTargetDepthOffset
(Integer staxTargetDepthOffset) void
-
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
- Returns:
- A list of member names that should be excluded when processing the given shape.
-
setExclude
-
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
-
getInject
- Returns:
- A list of singleton maps, each containing a custom member that we want to inject to this shape.
-
setInject
-
getStaxTargetDepthOffset
- Returns:
- the depth offset to use during staxUnmarshalling
-
setStaxTargetDepthOffset
-
isUnion
-
setUnion
-