@Stability(value=Stable) @Internal public static final class MatchFailure.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements MatchFailure
MatchFailuresoftware.amazon.jsii.JsiiObject.InitializationModeMatchFailure.Builder, MatchFailure.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(MatchFailure.Builder builder)
Constructor that initializes the object based on literal property values passed by the
MatchFailure.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Matcher |
getMatcher()
The matcher that had the failure.
|
String |
getMessage()
Failure message.
|
List<String> |
getPath()
The relative path in the target where the failure occurred.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(MatchFailure.Builder builder)
MatchFailure.Builder.public final Matcher getMatcher()
MatchFailuregetMatcher in interface MatchFailurepublic final String getMessage()
MatchFailuregetMessage in interface MatchFailurepublic final List<String> getPath()
MatchFailure
If the failure occurred at root of the match tree, set the path to an empty list.
If it occurs in the 5th index of an array nested within the 'foo' key of an object,
set the path as ['/foo', '[5]'].
getPath in interface MatchFailure@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.