Class ThrottlingInvoker.Builder
- java.lang.Object
-
- com.amazonaws.athena.connector.lambda.ThrottlingInvoker.Builder
-
- Enclosing class:
- ThrottlingInvoker
public static class ThrottlingInvoker.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThrottlingInvoker
build()
ThrottlingInvoker.Builder
withDecrease(double decrease)
ThrottlingInvoker.Builder
withFilter(ThrottlingInvoker.ExceptionFilter filter)
ThrottlingInvoker.Builder
withIncrease(long increase)
ThrottlingInvoker.Builder
withInitialDelayMs(long initialDelayMs)
ThrottlingInvoker.Builder
withMaxDelayMs(long maxDelayMs)
ThrottlingInvoker.Builder
withSpiller(BlockSpiller spiller)
-
-
-
Method Detail
-
withInitialDelayMs
public ThrottlingInvoker.Builder withInitialDelayMs(long initialDelayMs)
-
withMaxDelayMs
public ThrottlingInvoker.Builder withMaxDelayMs(long maxDelayMs)
-
withDecrease
public ThrottlingInvoker.Builder withDecrease(double decrease)
-
withIncrease
public ThrottlingInvoker.Builder withIncrease(long increase)
-
withFilter
public ThrottlingInvoker.Builder withFilter(ThrottlingInvoker.ExceptionFilter filter)
-
withSpiller
public ThrottlingInvoker.Builder withSpiller(BlockSpiller spiller)
-
build
public ThrottlingInvoker build()
-
-