Class ActualResult

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.integtests.alpha.ActualResult
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-22T02:24:11.255Z") @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

    Constructors
    Modifier
    Constructor
    Description
    protected
     
    protected
    ActualResult(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    ActualResult(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    fromAwsApiCall(IApiCall query, String attribute)
    (experimental) Get the actual results from a AwsApiCall.
    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 IApiCall 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

      @Stability(Experimental) @NotNull public abstract String getResult()
      (experimental) The actual results as a string.
    • setResult

      @Stability(Experimental) public abstract void setResult(@NotNull String value)
      (experimental) The actual results as a string.