Class BaseWaiterClassSpec
- java.lang.Object
-
- software.amazon.awssdk.codegen.poet.waiters.BaseWaiterClassSpec
-
- All Implemented Interfaces:
ClassSpec
- Direct Known Subclasses:
AsyncWaiterClassSpec
,WaiterClassSpec
public abstract class BaseWaiterClassSpec extends Object implements ClassSpec
Base class containing common logic shared between the sync waiter class and the async waiter class
-
-
Constructor Summary
Constructors Constructor Description BaseWaiterClassSpec(IntermediateModel model, com.squareup.javapoet.ClassName waiterClassName)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
additionalBuilderTypeSpecModification(com.squareup.javapoet.TypeSpec.Builder builder)
protected void
additionalConstructorInitialization(com.squareup.javapoet.MethodSpec.Builder method)
protected void
additionalTypeSpecModification(com.squareup.javapoet.TypeSpec.Builder type)
protected Optional<String>
additionalWaiterConfig()
protected abstract com.squareup.javapoet.ClassName
clientClassName()
protected abstract com.squareup.javapoet.TypeName
getWaiterResponseType(OperationModel opModel)
protected abstract com.squareup.javapoet.ClassName
interfaceClassName()
com.squareup.javapoet.TypeSpec
poetSpec()
protected String
waiterFieldName(String waiterKey)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.codegen.poet.ClassSpec
className, staticImports
-
-
-
-
Constructor Detail
-
BaseWaiterClassSpec
public BaseWaiterClassSpec(IntermediateModel model, com.squareup.javapoet.ClassName waiterClassName)
-
-
Method Detail
-
poetSpec
public com.squareup.javapoet.TypeSpec poetSpec()
-
clientClassName
protected abstract com.squareup.javapoet.ClassName clientClassName()
-
getWaiterResponseType
protected abstract com.squareup.javapoet.TypeName getWaiterResponseType(OperationModel opModel)
-
interfaceClassName
protected abstract com.squareup.javapoet.ClassName interfaceClassName()
-
additionalTypeSpecModification
protected void additionalTypeSpecModification(com.squareup.javapoet.TypeSpec.Builder type)
-
additionalConstructorInitialization
protected void additionalConstructorInitialization(com.squareup.javapoet.MethodSpec.Builder method)
-
additionalBuilderTypeSpecModification
protected void additionalBuilderTypeSpecModification(com.squareup.javapoet.TypeSpec.Builder builder)
-
-