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
-
Method Summary
Modifier and TypeMethodDescription<U> U
accept
(Matcher.Visitor<U> visitor) Visits the Matcher union type.final String
Gets the member name of the matcher.final PathMatcher
getValue()
Gets the value of the set matcher variant.final Node
toNode()
Converts a value to aNode
.
-
Constructor Details
-
InputOutputMember
-
-
Method Details
-
accept
Description copied from class:Matcher
Visits the Matcher union type.- Specified by:
accept
in 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:Matcher
Gets the member name of the matcher.- Specified by:
getMemberName
in classMatcher<PathMatcher>
- Returns:
- Returns the set member name.
-
getValue
Description copied from class:Matcher
Gets the value of the set matcher variant.- Specified by:
getValue
in classMatcher<PathMatcher>
- Returns:
- Returns the set variant's value.
-
toNode
Description copied from interface:ToNode
Converts a value to aNode
.- Returns:
- Returns the creates Node.
-