Class RetryableTrait.Builder
java.lang.Object
software.amazon.smithy.model.traits.AbstractTraitBuilder<RetryableTrait,RetryableTrait.Builder>
 
software.amazon.smithy.model.traits.RetryableTrait.Builder
- All Implemented Interfaces:
 SmithyBuilder<RetryableTrait>
- Enclosing class:
 - RetryableTrait
 
public static final class RetryableTrait.Builder
extends AbstractTraitBuilder<RetryableTrait,RetryableTrait.Builder> 
Builds a 
RetryableTrait trait.- 
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates an immutable object that is created from the properties that have been set on the builder.throttling(boolean throttling) Indicates if the retry is considered a throttle.Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation 
- 
Method Details
- 
build
Description copied from interface:SmithyBuilderCreates an immutable object that is created from the properties that have been set on the builder.- Returns:
 - an instance of T
 
 - 
throttling
Indicates if the retry is considered a throttle.- Parameters:
 throttling- Set to true if the retry is a throttle.- Returns:
 - Returns the builder.
 
 
 -