public final class Waiter extends java.lang.Object implements Tagged, ToNode, ToSmithyBuilder<Waiter>
Modifier and Type | Class and Description |
---|---|
static class |
Waiter.Builder |
Modifier and Type | Method and Description |
---|---|
static Waiter.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
static Waiter |
fromNode(Node node)
Create a
Waiter from a Node . |
java.util.List<Acceptor> |
getAcceptors()
Gets the list of
Acceptor s. |
java.util.Optional<java.lang.String> |
getDocumentation()
Gets the documentation of the waiter.
|
int |
getMaxDelay()
Gets the maximum amount of time allowed to wait between
retries in seconds.
|
int |
getMinDelay()
Gets the minimum amount of time to wait between retries
in seconds.
|
java.util.List<java.lang.String> |
getTags()
Gets the tags applied to an object.
|
int |
hashCode() |
boolean |
isDeprecated()
Checks if the waiter is deprecated.
|
SmithyBuilder<Waiter> |
toBuilder()
Take this object and create a builder that contains all of the
current property values of this object.
|
Node |
toNode()
Converts a value to a
Node . |
public static Waiter.Builder builder()
public SmithyBuilder<Waiter> toBuilder()
ToSmithyBuilder
toBuilder
in interface ToSmithyBuilder<Waiter>
public static Waiter fromNode(Node node)
Waiter
from a Node
.node
- Node
to create the Waiter
from.Waiter
.ExpectationNotMetException
- if the given node
is invalid.public java.util.Optional<java.lang.String> getDocumentation()
public java.util.List<Acceptor> getAcceptors()
Acceptor
s.public int getMinDelay()
public int getMaxDelay()
public java.util.List<java.lang.String> getTags()
Tagged
public boolean isDeprecated()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object