Class S3ControlRemoveAccountIdHostPrefixProcessor
java.lang.Object
software.amazon.awssdk.codegen.customization.processors.S3ControlRemoveAccountIdHostPrefixProcessor
- All Implemented Interfaces:
CodegenCustomizationProcessor
public class S3ControlRemoveAccountIdHostPrefixProcessor
extends Object
implements CodegenCustomizationProcessor
With Endpoints 2.0, the endpoint rule set is responsible for adding the prefix, so we remove it from the model to avoid
errors in constructing the endpoint.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Constructor Details
-
S3ControlRemoveAccountIdHostPrefixProcessor
public S3ControlRemoveAccountIdHostPrefixProcessor()
-
-
Method Details
-
preprocess
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
Description copied from interface:CodegenCustomizationProcessor
Apply the customization after the intermediate model is built- Specified by:
postprocess
in interfaceCodegenCustomizationProcessor
-