Class MatchFailure.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.assertions.MatchFailure.Jsii$Proxy
- All Implemented Interfaces:
MatchFailure
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
MatchFailure
@Stability(Stable)
@Internal
public static final class MatchFailure.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements MatchFailure
An implementation for
MatchFailure
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.assertions.MatchFailure
MatchFailure.Builder, MatchFailure.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(MatchFailure.Builder builder) Constructor that initializes the object based on literal property values passed by theMatchFailure.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Number
getCost()
The cost of this particular mismatch.final Matcher
The matcher that had the failure.final String
Failure message.getPath()
The relative path in the target where the failure occurred.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theMatchFailure.Builder
.
-
-
Method Details
-
getMatcher
Description copied from interface:MatchFailure
The matcher that had the failure.- Specified by:
getMatcher
in interfaceMatchFailure
-
getMessage
Description copied from interface:MatchFailure
Failure message.- Specified by:
getMessage
in interfaceMatchFailure
-
getPath
Description copied from interface:MatchFailure
The relative path in the target where the failure occurred.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]']
.- Specified by:
getPath
in interfaceMatchFailure
-
getCost
Description copied from interface:MatchFailure
The cost of this particular mismatch.Default: 1
- Specified by:
getCost
in interfaceMatchFailure
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-