Class PurgeAction
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.loganalytics.model.Action
- 
- com.oracle.bmc.loganalytics.model.PurgeAction
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class PurgeAction extends ActionPurge action for scheduled task.
 Note: Objects should always be created or deserialized using thePurgeAction.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 thePurgeAction.Builder, which maintain a set of all explicitly set fields calledPurgeAction.Builder.__explicitlySet__. ThehashCode()andequals(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).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classPurgeAction.Builder- 
Nested classes/interfaces inherited from class com.oracle.bmc.loganalytics.model.ActionAction.Type
 
- 
 - 
Constructor SummaryConstructors Constructor Description PurgeAction(String queryString, StorageDataType dataType, String purgeDuration, String purgeCompartmentId, Boolean compartmentIdInSubtree)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PurgeAction.Builderbuilder()Create a new builder.booleanequals(Object o)BooleangetCompartmentIdInSubtree()if true, purge child compartments dataStorageDataTypegetDataType()the type of the log data to be purgedStringgetPurgeCompartmentId()the compartment OCID under which the data will be purgedStringgetPurgeDuration()The duration of data to be retained, which is used to calculate the timeDataEnded when the task fires.StringgetQueryString()Purge query string.inthashCode()PurgeAction.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
PurgeAction@Deprecated public PurgeAction(String queryString, StorageDataType dataType, String purgeDuration, String purgeCompartmentId, Boolean compartmentIdInSubtree) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static PurgeAction.Builder builder() Create a new builder.
 - 
toBuilderpublic PurgeAction.Builder toBuilder() 
 - 
getQueryStringpublic String getQueryString() Purge query string.- Returns:
- the value
 
 - 
getDataTypepublic StorageDataType getDataType() the type of the log data to be purged- Returns:
- the value
 
 - 
getPurgeDurationpublic 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). - Returns:
- the value
 
 - 
getPurgeCompartmentIdpublic String getPurgeCompartmentId() the compartment OCID under which the data will be purged- Returns:
- the value
 
 - 
getCompartmentIdInSubtreepublic Boolean getCompartmentIdInSubtree() if true, purge child compartments data- Returns:
- the value
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.
 
- 
 
-