Class OperationDocs
java.lang.Object
software.amazon.awssdk.codegen.docs.OperationDocs
Provides documentation for an operation method on the client interface. Use
getDocs(IntermediateModel, OperationModel, ClientType) to retrieve documentation for the typical overload for an
operation (i.e. the one that takes in a request object and returns a response object in the simple case) or use
getDocs(IntermediateModel, OperationModel, ClientType, SimpleMethodOverload) with the specified
convenience overload as defined in SimpleMethodOverload.-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetDocs(IntermediateModel model, OperationModel opModel, ClientType clientType) Get documentation for theSimpleMethodOverload.NORMALoverload.static StringgetDocs(IntermediateModel model, OperationModel opModel, ClientType clientType, SimpleMethodOverload simpleMethodOverload) Equivalent to callinggetDocs(IntermediateModel, OperationModel, ClientType, SimpleMethodOverload, DocConfiguration)with a defaultDocConfigurationstatic StringgetDocs(IntermediateModel model, OperationModel opModel, ClientType clientType, SimpleMethodOverload simpleMethodOverload, DocConfiguration docConfig) Get documentation for a specificSimpleMethodOverload.
-
Method Details
-
getDocs
public static String getDocs(IntermediateModel model, OperationModel opModel, ClientType clientType) Get documentation for theSimpleMethodOverload.NORMALoverload. That is, the actual implementation that simple methods delegate to.- Parameters:
model-IntermediateModelopModel-OperationModelto generate Javadocs for.clientType- Which client type the Javadoc is being generated for.- Returns:
- Formatted Javadocs for operation method.
-
getDocs
public static String getDocs(IntermediateModel model, OperationModel opModel, ClientType clientType, SimpleMethodOverload simpleMethodOverload) Equivalent to callinggetDocs(IntermediateModel, OperationModel, ClientType, SimpleMethodOverload, DocConfiguration)with a defaultDocConfiguration -
getDocs
public static String getDocs(IntermediateModel model, OperationModel opModel, ClientType clientType, SimpleMethodOverload simpleMethodOverload, DocConfiguration docConfig) Get documentation for a specificSimpleMethodOverload.- Parameters:
model-IntermediateModelopModel-OperationModelto generate Javadocs for.clientType- Which client type the Javadoc is being generated for.simpleMethodOverload- Overload type to generate docs for.- Returns:
- Formatted Javadocs for operation method.
-