@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 PurgeAction.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
PurgeAction.Builder |
Action.Type
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
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.
|
boolean |
equals(Object o) |
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() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@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
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
Copyright © 2016–2024. All rights reserved.