Class DestroyOptions

java.lang.Object
com.pulumi.automation.UpdateOptions
com.pulumi.automation.DestroyOptions

public final class DestroyOptions extends UpdateOptions
Options controlling the behavior of a WorkspaceStack.destroy() operation.
  • Method Details

    • builder

      public static DestroyOptions.Builder builder()
      Returns a new builder for DestroyOptions.
      Returns:
      the builder
    • isExcludeDependents

      public boolean isExcludeDependents()
      Allows exclusion of dependent targets discovered but not specified UpdateOptions.excludes()
      Returns:
      true if dependent targets should be excluded
    • isTargetDependents

      public boolean isTargetDependents()
      Allows updating of dependent targets discovered but not specified UpdateOptions.targets()
      Returns:
      true if dependent targets should be updated
    • isShowSecrets

      public boolean isShowSecrets()
      Show config secrets when they appear.
      Returns:
      whether to show secrets
    • isContinueOnError

      public boolean isContinueOnError()
      Continue to perform the update operation despite the occurrence of errors.
      Returns:
      whether to continue on error
    • previewOnly

      public boolean previewOnly()
      Only show a preview of the destroy, but don't perform the destroy itself.
      Returns:
      whether this is just a preview