public static final class RetryableTrait.Builder extends AbstractTraitBuilder<RetryableTrait,RetryableTrait.Builder>
RetryableTrait
trait.Modifier and Type | Method and Description |
---|---|
RetryableTrait |
build()
Creates an immutable object that is created from the properties
that have been set on the builder.
|
RetryableTrait.Builder |
throttling(boolean throttling)
Indicates if the retry is considered a throttle.
|
getSourceLocation, sourceLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requiredState
public RetryableTrait build()
SmithyBuilder
public RetryableTrait.Builder throttling(boolean throttling)
throttling
- Set to true if the retry is a throttle.