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 for
DestroyOptions.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theDestroyOptions.continueOnError(boolean continueOnError) Sets whether to continue performing the destroy operation despite the occurrence of errors.excludeDependents(boolean excludeDependents) Allows exclusion of dependent targets discovered but not specifiedUpdateOptions.Builder.excludes(java.util.List<java.lang.String>).previewOnly(boolean previewOnly) Sets whether to continue performing the destroy operation despite the occurrence of errors.showSecrets(boolean showSecrets) Sets whether to show config secrets when they appear.targetDependents(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, excludes, json, logFlow, logToStdErr, logVerbosity, message, onEvent, onStandardError, onStandardOutput, parallel, policyPackConfigs, policyPacks, targets, tracing
-
Method Details
-
excludeDependents
Allows exclusion of dependent targets discovered but not specifiedUpdateOptions.Builder.excludes(java.util.List<java.lang.String>).- Parameters:
excludeDependents- true if dependent targets should be excluded- Returns:
- the builder
-
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
Sets whether to show config secrets when they appear.- Parameters:
showSecrets- the show secrets flag- Returns:
- the builder
-
continueOnError
Sets whether to continue performing the destroy operation despite the occurrence of errors.- Parameters:
continueOnError- the continue on error flag- Returns:
- the builder
-
previewOnly
Sets whether to continue performing the destroy operation despite the occurrence of errors.- Parameters:
previewOnly- the preview only flag- Returns:
- the builder
-
build
Builds theDestroyOptions.- Returns:
- the destroy options
-