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 StringgetWrappedResultMember()StringgetWrappedResultShape()booleanisExclude()booleanisUseWrappingResult()voidsetExclude(boolean exclude)voidsetUseWrappingResult(boolean useWrappingResult)voidsetWrappedResultMember(String wrappedResultMember)voidsetWrappedResultShape(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)
-
-