Class ActualResult
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.integtests.ActualResult
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:36.686Z")
@Stability(Experimental)
public abstract class ActualResult
extends software.amazon.jsii.JsiiObject
(experimental) Represents the "actual" results to compare.
Example:
CustomResource myCustomResource; Stack stack; App app; IntegTest integ = IntegTest.Builder.create(app, "Integ").testCases(List.of(stack)).build(); integ.assertions.expect("CustomAssertion", ExpectedResult.objectLike(Map.of("foo", "bar")), ActualResult.fromCustomResource(myCustomResource, "data"));
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
ActualResult
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
ActualResult
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic ActualResult
fromAwsApiCall
(IAwsApiCall query, String attribute) (experimental) Get the actual results from a AwsApiCall.static ActualResult
fromCustomResource
(CustomResource customResource, String attribute) (experimental) Get the actual results from a CustomResource.abstract String
(experimental) The actual results as a string.abstract void
(experimental) The actual results as a string.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
ActualResult
protected ActualResult(software.amazon.jsii.JsiiObjectRef objRef) -
ActualResult
protected ActualResult(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
ActualResult
@Stability(Experimental) protected ActualResult()
-
-
Method Details
-
fromAwsApiCall
@Stability(Experimental) @NotNull public static ActualResult fromAwsApiCall(@NotNull IAwsApiCall query, @NotNull String attribute) (experimental) Get the actual results from a AwsApiCall.- Parameters:
query
- This parameter is required.attribute
- This parameter is required.
-
fromCustomResource
@Stability(Experimental) @NotNull public static ActualResult fromCustomResource(@NotNull CustomResource customResource, @NotNull String attribute) (experimental) Get the actual results from a CustomResource.- Parameters:
customResource
- This parameter is required.attribute
- This parameter is required.
-
getResult
(experimental) The actual results as a string. -
setResult
(experimental) The actual results as a string.
-