Package software.amazon.smithy.waiters
Class Matcher.InputOutputMember
java.lang.Object
software.amazon.smithy.waiters.Matcher<PathMatcher>
software.amazon.smithy.waiters.Matcher.InputOutputMember
- All Implemented Interfaces:
ToNode
-
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.final StringGets the member name of the matcher.final PathMatchergetValue()Gets the value of the set matcher variant.final NodetoNode()Converts a value to aNode.
-
Constructor Details
-
InputOutputMember
-
-
Method Details
-
accept
Description copied from class:MatcherVisits the Matcher union type.- Specified by:
acceptin classMatcher<PathMatcher>- Type Parameters:
U- The type returned by the visitor.- Parameters:
visitor- Visitor to apply.- Returns:
- Returns the return value of the visitor.
-
getMemberName
Description copied from class:MatcherGets the member name of the matcher.- Specified by:
getMemberNamein classMatcher<PathMatcher>- Returns:
- Returns the set member name.
-
getValue
Description copied from class:MatcherGets the value of the set matcher variant.- Specified by:
getValuein classMatcher<PathMatcher>- Returns:
- Returns the set variant's value.
-
toNode
Description copied from interface:ToNodeConverts a value to aNode.- Returns:
- Returns the creates Node.
-