Class CdkCommands.Builder
- java.lang.Object
-
- software.amazon.awscdk.cloudassembly.schema.CdkCommands.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CdkCommands>
- Enclosing interface:
- CdkCommands
@Stability(Stable) public static final class CdkCommands.Builder extends Object implements software.amazon.jsii.Builder<CdkCommands>
A builder forCdkCommands
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CdkCommandsbuild()Builds the configured instance.CdkCommands.Builderdeploy(DeployCommand deploy)Sets the value ofCdkCommands.getDeploy()CdkCommands.Builderdestroy(DestroyCommand destroy)Sets the value ofCdkCommands.getDestroy()
-
-
-
Method Detail
-
deploy
@Stability(Stable) public CdkCommands.Builder deploy(DeployCommand deploy)
Sets the value ofCdkCommands.getDeploy()- Parameters:
deploy- Options to for the cdk deploy command.- Returns:
this
-
destroy
@Stability(Stable) public CdkCommands.Builder destroy(DestroyCommand destroy)
Sets the value ofCdkCommands.getDestroy()- Parameters:
destroy- Options to for the cdk destroy command.- Returns:
this
-
build
@Stability(Stable) public CdkCommands build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CdkCommands>- Returns:
- a new instance of
CdkCommands - Throws:
NullPointerException- if any required attribute was not provided
-
-