Package software.amazon.smithy.waiters
Class WaitableTrait.Builder
- java.lang.Object
-
- software.amazon.smithy.model.traits.AbstractTraitBuilder<WaitableTrait,WaitableTrait.Builder>
-
- software.amazon.smithy.waiters.WaitableTrait.Builder
-
- All Implemented Interfaces:
SmithyBuilder<WaitableTrait>
- Enclosing class:
- WaitableTrait
public static final class WaitableTrait.Builder extends AbstractTraitBuilder<WaitableTrait,WaitableTrait.Builder>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WaitableTrait
build()
Creates an immutable object that is created from the properties that have been set on the builder.WaitableTrait.Builder
clear()
WaitableTrait.Builder
put(java.lang.String name, Waiter value)
WaitableTrait.Builder
replace(java.util.Map<java.lang.String,Waiter> waiters)
-
Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
-
-
-
Method Detail
-
build
public WaitableTrait build()
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Returns:
- an instance of T
-
put
public WaitableTrait.Builder put(java.lang.String name, Waiter value)
-
clear
public WaitableTrait.Builder clear()
-
replace
public WaitableTrait.Builder replace(java.util.Map<java.lang.String,Waiter> waiters)
-
-