Package software.amazon.smithy.waiters
Class Waiter.Builder
- java.lang.Object
-
- software.amazon.smithy.waiters.Waiter.Builder
-
- All Implemented Interfaces:
SmithyBuilder<Waiter>
- Enclosing class:
- Waiter
public static final class Waiter.Builder extends java.lang.Object implements SmithyBuilder<Waiter>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Waiter.Builder
acceptors(java.util.List<Acceptor> acceptors)
Waiter.Builder
addAcceptor(Acceptor acceptor)
Waiter.Builder
addTag(java.lang.String tag)
Waiter
build()
Creates an immutable object that is created from the properties that have been set on the builder.Waiter.Builder
clearAcceptors()
Waiter.Builder
clearTags()
Waiter.Builder
deprecated(boolean deprecated)
Waiter.Builder
documentation(java.lang.String documentation)
Waiter.Builder
maxDelay(int maxDelay)
Waiter.Builder
minDelay(int minDelay)
Waiter.Builder
tags(java.util.List<java.lang.String> tags)
-
-
-
Method Detail
-
build
public Waiter build()
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Specified by:
build
in interfaceSmithyBuilder<Waiter>
- Returns:
- an instance of T
-
documentation
public Waiter.Builder documentation(java.lang.String documentation)
-
clearAcceptors
public Waiter.Builder clearAcceptors()
-
acceptors
public Waiter.Builder acceptors(java.util.List<Acceptor> acceptors)
-
addAcceptor
public Waiter.Builder addAcceptor(Acceptor acceptor)
-
minDelay
public Waiter.Builder minDelay(int minDelay)
-
maxDelay
public Waiter.Builder maxDelay(int maxDelay)
-
clearTags
public Waiter.Builder clearTags()
-
tags
public Waiter.Builder tags(java.util.List<java.lang.String> tags)
-
addTag
public Waiter.Builder addTag(java.lang.String tag)
-
deprecated
public Waiter.Builder deprecated(boolean deprecated)
-
-