Package software.amazon.smithy.waiters
Class Waiter
java.lang.Object
software.amazon.smithy.waiters.Waiter
- All Implemented Interfaces:
- ToNode,- Tagged,- ToSmithyBuilder<Waiter>
Defines an individual operation waiter.
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionstatic Waiter.Builderbuilder()booleanstatic WaiterCreate aWaiterfrom aNode.Gets the list ofAcceptors.Gets the documentation of the waiter.intGets the maximum amount of time allowed to wait between retries in seconds.intGets the minimum amount of time to wait between retries in seconds.getTags()Gets the tags applied to an object.inthashCode()booleanChecks if the waiter is deprecated.Take this object and create a builder that contains all of the current property values of this object.toNode()Converts a value to aNode.
- 
Method Details- 
builder
- 
toBuilderDescription copied from interface:ToSmithyBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToSmithyBuilder<Waiter>
- Returns:
- a builder for type T
 
- 
fromNodeCreate aWaiterfrom aNode.- Parameters:
- node-- Nodeto create the- Waiterfrom.
- Returns:
- Returns the created Waiter.
- Throws:
- ExpectationNotMetException- if the given- nodeis invalid.
 
- 
getDocumentationGets the documentation of the waiter.- Returns:
- Return the optional documentation.
 
- 
getAcceptorsGets the list ofAcceptors.- Returns:
- Returns the acceptors of the waiter.
 
- 
getMinDelaypublic int getMinDelay()Gets the minimum amount of time to wait between retries in seconds.- Returns:
- Gets the minimum retry wait time in seconds.
 
- 
getMaxDelaypublic int getMaxDelay()Gets the maximum amount of time allowed to wait between retries in seconds.- Returns:
- Gets the maximum retry wait time in seconds.
 
- 
getTagsDescription copied from interface:TaggedGets the tags applied to an object.
- 
isDeprecatedpublic boolean isDeprecated()Checks if the waiter is deprecated.- Returns:
- Returns true if the waiter is deprecated.
 
- 
toNodeDescription copied from interface:ToNodeConverts a value to aNode.
- 
equals
- 
hashCodepublic int hashCode()
 
-