Package com.pulumi.automation
Class DestroyOptions.Builder
- java.lang.Object
-
- com.pulumi.automation.UpdateOptions.Builder<DestroyOptions.Builder>
-
- com.pulumi.automation.DestroyOptions.Builder
-
- Enclosing class:
- DestroyOptions
public static final class DestroyOptions.Builder extends UpdateOptions.Builder<DestroyOptions.Builder>
Builder forDestroyOptions.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DestroyOptionsbuild()Builds theDestroyOptions.DestroyOptions.BuildercontinueOnError(boolean continueOnError)Sets whether to continue performing the destroy operation despite the occurrence of errors.DestroyOptions.BuildershowSecrets(boolean showSecrets)Sets whether to show config secrets when they appear.DestroyOptions.BuildertargetDependents(boolean targetDependents)Allows updating of dependent targets discovered but not specifiedUpdateOptions.Builder.targets(java.util.List<java.lang.String>).-
Methods inherited from class com.pulumi.automation.UpdateOptions.Builder
color, debug, json, logFlow, logToStdErr, logVerbosity, message, onEvent, onStandardError, onStandardOutput, parallel, policyPackConfigs, policyPacks, targets, tracing
-
-
-
-
Method Detail
-
targetDependents
public DestroyOptions.Builder targetDependents(boolean targetDependents)
Allows updating of dependent targets discovered but not specifiedUpdateOptions.Builder.targets(java.util.List<java.lang.String>).- Parameters:
targetDependents- true if dependent targets should be updated- Returns:
- the builder
-
showSecrets
public DestroyOptions.Builder showSecrets(boolean showSecrets)
Sets whether to show config secrets when they appear.- Parameters:
showSecrets- the show secrets flag- Returns:
- the builder
-
continueOnError
public DestroyOptions.Builder continueOnError(boolean continueOnError)
Sets whether to continue performing the destroy operation despite the occurrence of errors.- Parameters:
continueOnError- the continue on error flag- Returns:
- the builder
-
build
public DestroyOptions build()
Builds theDestroyOptions.- Returns:
- the destroy options
-
-