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