Package software.amazon.smithy.waiters
Class Matcher.SuccessMember
- java.lang.Object
-
- software.amazon.smithy.waiters.Matcher<java.lang.Boolean>
-
- software.amazon.smithy.waiters.Matcher.SuccessMember
-
-
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 Constructor Description SuccessMember(boolean value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <U> Uaccept(Matcher.Visitor<U> visitor)Visits the Matcher union type.java.lang.StringgetMemberName()Gets the member name of the matcher.java.lang.BooleangetValue()Gets the value of the set matcher variant.NodetoNode()Converts a value to aNode.
-
-
-
Method Detail
-
getMemberName
public java.lang.String getMemberName()
Description copied from class:MatcherGets the member name of the matcher.- Specified by:
getMemberNamein classMatcher<java.lang.Boolean>- Returns:
- Returns the set member name.
-
getValue
public java.lang.Boolean getValue()
Description copied from class:MatcherGets the value of the set matcher variant.
-
toNode
public Node toNode()
Description copied from interface:ToNodeConverts a value to aNode.- Returns:
- Returns the creates Node.
-
accept
public <U> U accept(Matcher.Visitor<U> visitor)
Description copied from class:MatcherVisits the Matcher union type.
-
-