Class OperationModifier
java.lang.Object
software.amazon.awssdk.codegen.model.config.customization.OperationModifier
Use operationModifiers customization to exclude a given operation, or add a
wrapper around the result shape.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
setExclude
(boolean exclude) void
setUseWrappingResult
(boolean useWrappingResult) void
setWrappedResultMember
(String wrappedResultMember) void
setWrappedResultShape
(String wrappedResultShape)
-
Constructor Details
-
OperationModifier
public OperationModifier()
-
-
Method Details
-
isExclude
public boolean isExclude()- Returns:
- true if this operation should be excluded when processing the service model. When this option is set, both input and output shapes are excluded too.
-
setExclude
public void setExclude(boolean exclude) -
isUseWrappingResult
public boolean isUseWrappingResult()- Returns:
- true if the output shape of this operation is a thin wrapper around the real logical result (e.g., EC2 Reservation wrapped by RunInstancesResult), and that we want to directly return the unwrapped result in the generated client.
-
setUseWrappingResult
public void setUseWrappingResult(boolean useWrappingResult) -
getWrappedResultShape
- Returns:
- the shape of the member that represents the wrapped result.
- See Also:
-
setWrappedResultShape
-
getWrappedResultMember
- Returns:
- the name of the member that represents the wrapped result.
- See Also:
-
setWrappedResultMember
-