Class KvsRetryStrategy.KvsRetryStrategyBuilder
- java.lang.Object
-
- com.amazonaws.kinesisvideo.producer.KvsRetryStrategy.KvsRetryStrategyBuilder
-
- All Implemented Interfaces:
KvsRetryStrategy.RetryStrategyConfigStep,KvsRetryStrategy.RetryStrategyTypeStep
- Enclosing class:
- KvsRetryStrategy
public static class KvsRetryStrategy.KvsRetryStrategyBuilder extends Object implements KvsRetryStrategy.RetryStrategyTypeStep, KvsRetryStrategy.RetryStrategyConfigStep
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description KvsRetryStrategybuild()KvsRetryStrategy.KvsRetryStrategyBuilderconfig(ExponentialBackoffRetryStrategyConfig exponentialBackoffConfig)static KvsRetryStrategydefaults()KvsRetryStrategy.KvsRetryStrategyBuilderdisabled()Use the PIC defaults for the retry wait time calculations.KvsRetryStrategy.RetryStrategyConfigStepexponentialBackoff()Use the exponential backoff for the retry wait time calculations.static KvsRetryStrategy.RetryStrategyTypeStepwith()
-
-
-
Method Detail
-
with
public static KvsRetryStrategy.RetryStrategyTypeStep with()
-
defaults
public static KvsRetryStrategy defaults()
-
disabled
public KvsRetryStrategy.KvsRetryStrategyBuilder disabled()
Use the PIC defaults for the retry wait time calculations.- Specified by:
disabledin interfaceKvsRetryStrategy.RetryStrategyTypeStep
-
exponentialBackoff
public KvsRetryStrategy.RetryStrategyConfigStep exponentialBackoff()
Use the exponential backoff for the retry wait time calculations.- Specified by:
exponentialBackoffin interfaceKvsRetryStrategy.RetryStrategyTypeStep
-
config
public KvsRetryStrategy.KvsRetryStrategyBuilder config(@Nullable ExponentialBackoffRetryStrategyConfig exponentialBackoffConfig)
- Specified by:
configin interfaceKvsRetryStrategy.RetryStrategyConfigStep
-
build
public KvsRetryStrategy build()
-
-