public static class PurgeAction.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PurgeAction |
build() |
PurgeAction.Builder |
compartmentIdInSubtree(Boolean compartmentIdInSubtree)
if true, purge child compartments data
|
PurgeAction.Builder |
copy(PurgeAction model) |
PurgeAction.Builder |
dataType(StorageDataType dataType)
the type of the log data to be purged
|
PurgeAction.Builder |
purgeCompartmentId(String purgeCompartmentId)
the compartment OCID under which the data will be purged
|
PurgeAction.Builder |
purgeDuration(String purgeDuration)
The duration of data to be retained, which is used to calculate the timeDataEnded when
the task fires.
|
PurgeAction.Builder |
queryString(String queryString)
Purge query string.
|
public PurgeAction.Builder queryString(String queryString)
Purge query string.
queryString
- the value to setpublic PurgeAction.Builder dataType(StorageDataType dataType)
the type of the log data to be purged
dataType
- the value to setpublic PurgeAction.Builder purgeDuration(String purgeDuration)
The duration of data to be retained, which is used to calculate the timeDataEnded when the task fires. The value should be negative. Purge duration in ISO 8601 extended format as described in https://en.wikipedia.org/wiki/ISO_8601#Durations. The largest supported unit is D, e.g. -P365D (not -P1Y) or -P14D (not -P2W).
purgeDuration
- the value to setpublic PurgeAction.Builder purgeCompartmentId(String purgeCompartmentId)
the compartment OCID under which the data will be purged
purgeCompartmentId
- the value to setpublic PurgeAction.Builder compartmentIdInSubtree(Boolean compartmentIdInSubtree)
if true, purge child compartments data
compartmentIdInSubtree
- the value to setpublic PurgeAction build()
public PurgeAction.Builder copy(PurgeAction model)
Copyright © 2016–2024. All rights reserved.