Class OperationModifier


  • public class OperationModifier
    extends Object
    Use operationModifiers customization to exclude a given operation, or add a wrapper around the result shape.
    • Constructor Detail

      • OperationModifier

        public OperationModifier()
    • 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)