Class DestroyCommand.Jsii$Proxy

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Jsii$Proxy​(DestroyCommand.Builder builder)
      Constructor that initializes the object based on literal property values passed by the DestroyCommand.Builder.
      protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.fasterxml.jackson.databind.JsonNode $jsii$toJson()  
      boolean equals​(Object o)  
      DestroyOptions getArgs()
      Additional arguments to pass to the command This can be used to test specific CLI functionality.
      Boolean getEnabled()
      Whether or not to run this command as part of the workflow This can be used if you only want to test some of the workflow for example enable synth and disable deploy & destroy in order to limit the test to synthesis.
      String getExpectedMessage()
      This can be used in combination with expectedError to validate that a specific message is returned.
      Boolean getExpectError()
      If the runner should expect this command to fail.
      int hashCode()  
      • Methods inherited from class software.amazon.jsii.JsiiObject

        jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
    • Constructor Detail

      • 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.
    • Method Detail

      • getArgs

        public final DestroyOptions getArgs()
        Description copied from interface: DestroyCommand
        Additional arguments to pass to the command This can be used to test specific CLI functionality.

        Default: - only default args are used

        Specified by:
        getArgs in interface DestroyCommand
      • getEnabled

        public final Boolean getEnabled()
        Description copied from interface: CdkCommand
        Whether or not to run this command as part of the workflow This can be used if you only want to test some of the workflow for example enable synth and disable deploy & destroy in order to limit the test to synthesis.

        Default: true

        Specified by:
        getEnabled in interface CdkCommand
      • getExpectedMessage

        public final String getExpectedMessage()
        Description copied from interface: CdkCommand
        This can be used in combination with expectedError to validate that a specific message is returned.

        Default: - do not validate message

        Specified by:
        getExpectedMessage in interface CdkCommand
      • getExpectError

        public final Boolean getExpectError()
        Description copied from interface: CdkCommand
        If the runner should expect this command to fail.

        Default: false

        Specified by:
        getExpectError in interface CdkCommand
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object