Class LowercaseShapeValidatorProcessor
- java.lang.Object
-
- software.amazon.awssdk.codegen.customization.processors.LowercaseShapeValidatorProcessor
-
- All Implemented Interfaces:
CodegenCustomizationProcessor
public class LowercaseShapeValidatorProcessor extends Object implements CodegenCustomizationProcessor
A processor that validates shape names in service models to ensure they start with uppercase letters. This validation is necessary because shapes of type "structure" are converted to Java classes, which must start with uppercase letters according to Java naming conventions.
-
-
Constructor Summary
Constructors Constructor Description LowercaseShapeValidatorProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
postprocess(IntermediateModel intermediateModel)
Apply the customization after the intermediate model is builtvoid
preprocess(ServiceModel serviceModel)
Apply the customization by directly modifying the service model, before the intermediate model is built.
-
-
-
Method Detail
-
preprocess
public void preprocess(ServiceModel serviceModel)
Description copied from interface:CodegenCustomizationProcessor
Apply the customization by directly modifying the service model, before the intermediate model is built.- Specified by:
preprocess
in interfaceCodegenCustomizationProcessor
-
postprocess
public void postprocess(IntermediateModel intermediateModel)
Description copied from interface:CodegenCustomizationProcessor
Apply the customization after the intermediate model is built- Specified by:
postprocess
in interfaceCodegenCustomizationProcessor
-
-