Package software.amazon.smithy.waiters
Class Matcher.ErrorTypeMember
java.lang.Object
software.amazon.smithy.waiters.Matcher<String>
software.amazon.smithy.waiters.Matcher.ErrorTypeMember
- All Implemented Interfaces:
ToNode
Matches if an operation returns an error, and the error matches the
expected error type.
-
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.Gets the member name of the matcher.getValue()
Gets the value of the set matcher variant.toNode()
Converts a value to aNode
.
-
Constructor Details
-
ErrorTypeMember
-
-
Method Details
-
getMemberName
Description copied from class:Matcher
Gets the member name of the matcher.- Specified by:
getMemberName
in classMatcher<String>
- Returns:
- Returns the set member name.
-
getValue
Description copied from class:Matcher
Gets the value of the set matcher variant. -
toNode
Description copied from interface:ToNode
Converts a value to aNode
.- Returns:
- Returns the creates Node.
-
accept
Description copied from class:Matcher
Visits the Matcher union type.
-