Package software.amazon.smithy.waiters
Class Waiter
- java.lang.Object
- 
- software.amazon.smithy.waiters.Waiter
 
- 
- All Implemented Interfaces:
- ToNode,- Tagged,- ToSmithyBuilder<Waiter>
 
 public final class Waiter extends java.lang.Object implements Tagged, ToNode, ToSmithyBuilder<Waiter> Defines an individual operation waiter.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classWaiter.Builder
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Waiter.Builderbuilder()booleanequals(java.lang.Object o)static WaiterfromNode(Node node)Create aWaiterfrom aNode.java.util.List<Acceptor>getAcceptors()Gets the list ofAcceptors.java.util.Optional<java.lang.String>getDocumentation()Gets the documentation of the waiter.intgetMaxDelay()Gets the maximum amount of time allowed to wait between retries in seconds.intgetMinDelay()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.inthashCode()booleanisDeprecated()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.NodetoNode()Converts a value to aNode.
 
- 
- 
- 
Method Detail- 
builderpublic static Waiter.Builder builder() 
 - 
toBuilderpublic SmithyBuilder<Waiter> toBuilder() Description 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
 
 - 
fromNodepublic static Waiter fromNode(Node node) Create aWaiterfrom aNode.- Parameters:
- node-- Nodeto create the- Waiterfrom.
- Returns:
- Returns the created Waiter.
- Throws:
- ExpectationNotMetException- if the given- nodeis invalid.
 
 - 
getDocumentationpublic java.util.Optional<java.lang.String> getDocumentation() Gets the documentation of the waiter.- Returns:
- Return the optional documentation.
 
 - 
getAcceptorspublic java.util.List<Acceptor> getAcceptors() Gets 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.
 
 - 
getTagspublic java.util.List<java.lang.String> getTags() Description 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.
 
 - 
equalspublic boolean equals(java.lang.Object o) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 
- 
 
-