Enum ObjectCollectionRuleCollectionTypes
- java.lang.Object
-
- java.lang.Enum<ObjectCollectionRuleCollectionTypes>
-
- com.oracle.bmc.loganalytics.model.ObjectCollectionRuleCollectionTypes
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ObjectCollectionRuleCollectionTypes>
@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public enum ObjectCollectionRuleCollectionTypes extends Enum<ObjectCollectionRuleCollectionTypes> implements BmcEnum
The type of Object Collection Rule that needs to be performed with the rule being created.LIVE : Using this type will prompt the process to collect all the logs that gets uploaded to the object store bucket from the time the rule gets registered HISTORIC: This specifies that it is a one off collection request from one time (pollSince) to a second time period (pollTill). In this colletion the pollTill >pollSince HISTORIC_LIVE: This specifies that the collection of objects from the object store bucket needs to be started from a specific time stamp (pollSince) and should collect all the objects that ever gets into this bucket till this rule is configured and active.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Historic
HistoricLive
Live
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObjectCollectionRuleCollectionTypes
create(String key)
String
getValue()
static ObjectCollectionRuleCollectionTypes
valueOf(String name)
Returns the enum constant of this type with the specified name.static ObjectCollectionRuleCollectionTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Live
public static final ObjectCollectionRuleCollectionTypes Live
-
Historic
public static final ObjectCollectionRuleCollectionTypes Historic
-
HistoricLive
public static final ObjectCollectionRuleCollectionTypes HistoricLive
-
UnknownEnumValue
public static final ObjectCollectionRuleCollectionTypes UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static ObjectCollectionRuleCollectionTypes[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ObjectCollectionRuleCollectionTypes c : ObjectCollectionRuleCollectionTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ObjectCollectionRuleCollectionTypes valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static ObjectCollectionRuleCollectionTypes create(String key)
-
-