Class AssertionReturn

java.lang.Object
software.amazon.jsii.JsiiObject
com.hashicorp.cdktf.testing_matchers.AssertionReturn
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.93.0 (build 1706ca5)", date="2024-01-15T15:38:01.198Z") @Stability(Experimental) public class AssertionReturn extends software.amazon.jsii.JsiiObject
(experimental) Class representing the contents of a return by an assertion.
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
    AssertionReturn(String message, Boolean pass)
    (experimental) Create an AssertionReturn.
    protected
    AssertionReturn(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    AssertionReturn(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (experimental) - String message containing information about the result of the assertion.
    (experimental) - Boolean pass denoting the success of the assertion.

    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

    • AssertionReturn

      protected AssertionReturn(software.amazon.jsii.JsiiObjectRef objRef)
    • AssertionReturn

      protected AssertionReturn(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • AssertionReturn

      @Stability(Experimental) public AssertionReturn(@NotNull String message, @NotNull Boolean pass)
      (experimental) Create an AssertionReturn.

      Parameters:
      message -
      • String message containing information about the result of the assertion.
      This parameter is required.
      pass -
      • Boolean pass denoting the success of the assertion.
      This parameter is required.
  • Method Details

    • getMessage

      @Stability(Experimental) @NotNull public String getMessage()
      (experimental) - String message containing information about the result of the assertion.
    • getPass

      @Stability(Experimental) @NotNull public Boolean getPass()
      (experimental) - Boolean pass denoting the success of the assertion.