Package software.amazon.smithy.waiters
Class Matcher.SuccessMember
java.lang.Object
software.amazon.smithy.waiters.Matcher<Boolean>
software.amazon.smithy.waiters.Matcher.SuccessMember
- All Implemented Interfaces:
 ToNode
When set to true, matches when a call returns a success response.
 When set to false, matches when a call fails with any error.
- 
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.smithy.waiters.Matcher
Matcher.ErrorTypeMember, Matcher.InputOutputMember, Matcher.OutputMember, Matcher.SuccessMember, Matcher.UnknownMember, Matcher.Visitor<T> - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescription<U> Uaccept(Matcher.Visitor<U> visitor) Visits the Matcher union type.Gets the member name of the matcher.getValue()Gets the value of the set matcher variant.toNode()Converts a value to aNode. 
- 
Constructor Details
- 
SuccessMember
public SuccessMember(boolean value)  
 - 
 - 
Method Details
- 
getMemberName
Description copied from class:MatcherGets the member name of the matcher.- Specified by:
 getMemberNamein classMatcher<Boolean>- Returns:
 - Returns the set member name.
 
 - 
getValue
Description copied from class:MatcherGets the value of the set matcher variant. - 
toNode
Description copied from interface:ToNodeConverts a value to aNode.- Returns:
 - Returns the creates Node.
 
 - 
accept
Description copied from class:MatcherVisits the Matcher union type. 
 -