Class DestroyCommand.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.amazon.awscdk.cloudassembly.schema.DestroyCommand.Jsii$Proxy
-
- All Implemented Interfaces:
CdkCommand,DestroyCommand,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- DestroyCommand
@Stability(Stable) @Internal public static final class DestroyCommand.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements DestroyCommand
An implementation forDestroyCommand
-
-
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.cloudassembly.schema.DestroyCommand
DestroyCommand.Builder, DestroyCommand.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(DestroyCommand.Builder builder)Constructor that initializes the object based on literal property values passed by theDestroyCommand.Builder.protectedJsii$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()booleanequals(Object o)DestroyOptionsgetArgs()Additional arguments to pass to the command This can be used to test specific CLI functionality.BooleangetEnabled()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 enablesynthand disabledeploy&destroyin order to limit the test to synthesis.StringgetExpectedMessage()This can be used in combination withexpectedErrorto validate that a specific message is returned.BooleangetExpectError()If the runner should expect this command to fail.inthashCode()
-
-
-
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.
-
Jsii$Proxy
protected Jsii$Proxy(DestroyCommand.Builder builder)
Constructor that initializes the object based on literal property values passed by theDestroyCommand.Builder.
-
-
Method Detail
-
getArgs
public final DestroyOptions getArgs()
Description copied from interface:DestroyCommandAdditional arguments to pass to the command This can be used to test specific CLI functionality.Default: - only default args are used
- Specified by:
getArgsin interfaceDestroyCommand
-
getEnabled
public final Boolean getEnabled()
Description copied from interface:CdkCommandWhether 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 enablesynthand disabledeploy&destroyin order to limit the test to synthesis.Default: true
- Specified by:
getEnabledin interfaceCdkCommand
-
getExpectedMessage
public final String getExpectedMessage()
Description copied from interface:CdkCommandThis can be used in combination withexpectedErrorto validate that a specific message is returned.Default: - do not validate message
- Specified by:
getExpectedMessagein interfaceCdkCommand
-
getExpectError
public final Boolean getExpectError()
Description copied from interface:CdkCommandIf the runner should expect this command to fail.Default: false
- Specified by:
getExpectErrorin interfaceCdkCommand
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-