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, sourceLocationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrequiredStatepublic RetryableTrait build()
SmithyBuilderpublic RetryableTrait.Builder throttling(boolean throttling)
throttling - Set to true if the retry is a throttle.