Class OperationModifier
- java.lang.Object
-
- software.amazon.awssdk.codegen.model.config.customization.OperationModifier
-
public class OperationModifier extends Object
Use operationModifiers customization to exclude a given operation, or add a wrapper around the result shape.
-
-
Constructor Summary
Constructors Constructor Description OperationModifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getWrappedResultMember()
String
getWrappedResultShape()
boolean
isExclude()
boolean
isUseWrappingResult()
void
setExclude(boolean exclude)
void
setUseWrappingResult(boolean useWrappingResult)
void
setWrappedResultMember(String wrappedResultMember)
void
setWrappedResultShape(String wrappedResultShape)
-
-
-
Method Detail
-
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
public String getWrappedResultShape()
- Returns:
- the shape of the member that represents the wrapped result.
- See Also:
isUseWrappingResult()
-
setWrappedResultShape
public void setWrappedResultShape(String wrappedResultShape)
-
getWrappedResultMember
public String getWrappedResultMember()
- Returns:
- the name of the member that represents the wrapped result.
- See Also:
isUseWrappingResult()
-
setWrappedResultMember
public void setWrappedResultMember(String wrappedResultMember)
-
-