@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class PurgeAction extends Action
Purge action for scheduled task.
Note: Objects should always be created or deserialized using the PurgeAction.Builder
. This model distinguishes fields
that are null
because they are unset from fields that are explicitly set to null
. This is done in
the setter methods of the PurgeAction.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
PurgeAction.Builder |
Action.Type
Constructor and Description |
---|
PurgeAction(String queryString,
StorageDataType dataType,
String purgeDuration,
String purgeCompartmentId,
Boolean compartmentIdInSubtree)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static PurgeAction.Builder |
builder()
Create a new builder.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
Boolean |
getCompartmentIdInSubtree()
if true, purge child compartments data
|
StorageDataType |
getDataType()
the type of the log data to be purged
|
String |
getPurgeCompartmentId()
the compartment OCID under which the data will be purged
|
String |
getPurgeDuration()
The duration of data to be retained, which is used to
calculate the timeDataEnded when the task fires.
|
String |
getQueryString()
Purge query string.
|
int |
hashCode() |
PurgeAction.Builder |
toBuilder() |
String |
toString() |
@Deprecated public PurgeAction(String queryString, StorageDataType dataType, String purgeDuration, String purgeCompartmentId, Boolean compartmentIdInSubtree)
public static PurgeAction.Builder builder()
Create a new builder.
public PurgeAction.Builder toBuilder()
public String getQueryString()
Purge query string.
public StorageDataType getDataType()
the type of the log data to be purged
public String getPurgeDuration()
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).
public String getPurgeCompartmentId()
the compartment OCID under which the data will be purged
public Boolean getCompartmentIdInSubtree()
if true, purge child compartments data
Copyright © 2016–2022. All rights reserved.