Class DeleteOptions
java.lang.Object
codes.grow.packages.openbao.secrets.DeleteOptions
Options of
delete: path, specific versions, permanent destruction.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic DeleteOptions.Builderbuilder()Starts a builder.static DeleteOptionsnone()Returns the empty options (delete the latest version, recoverable where supported).path()Returns the path.booleanReturns whether data is destroyed without recovery.versions()Returns the versions to delete.
-
Method Details
-
none
Returns the empty options (delete the latest version, recoverable where supported).- Returns:
- the defaults
-
builder
Starts a builder.- Returns:
- a new builder
-
path
Returns the path.- Returns:
- the path, or empty
-
versions
Returns the versions to delete.- Returns:
- immutable list; empty means the whole secret
-
permanent
public boolean permanent()Returns whether data is destroyed without recovery.- Returns:
- true for permanent deletion
-