Class LogAnalyticsEntityType
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.loganalytics.model.LogAnalyticsEntityType
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class LogAnalyticsEntityType extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Description of log analytics entity type.
Note: Objects should always be created or deserialized using theLogAnalyticsEntityType.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 theLogAnalyticsEntityType.Builder
, which maintain a set of all explicitly set fields calledLogAnalyticsEntityType.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 Summary
Nested Classes Modifier and Type Class Description static class
LogAnalyticsEntityType.Builder
static class
LogAnalyticsEntityType.ManagementAgentEligibilityStatus
This field indicates whether logs for entities of this type can be collected using a management agent.
-
Constructor Summary
Constructors Constructor Description LogAnalyticsEntityType(String name, String internalName, String compartmentId, String category, EntityCloudType cloudType, List<EntityTypeProperty> properties, EntityLifecycleStates lifecycleState, Date timeCreated, Date timeUpdated, LogAnalyticsEntityType.ManagementAgentEligibilityStatus managementAgentEligibilityStatus)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogAnalyticsEntityType.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getCategory()
Log analytics entity type category.EntityCloudType
getCloudType()
Log analytics entity type group.String
getCompartmentId()
Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).String
getInternalName()
Internal name for the log analytics entity type.EntityLifecycleStates
getLifecycleState()
The current lifecycle state of the log analytics entity.LogAnalyticsEntityType.ManagementAgentEligibilityStatus
getManagementAgentEligibilityStatus()
This field indicates whether logs for entities of this type can be collected using a management agent.String
getName()
Log analytics entity type name.List<EntityTypeProperty>
getProperties()
The parameters used in file patterns specified in log sources for this log analytics entity type.Date
getTimeCreated()
Time the log analytics entity type was created.Date
getTimeUpdated()
Time the log analytics entity type was updated.int
hashCode()
LogAnalyticsEntityType.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
LogAnalyticsEntityType
@Deprecated @ConstructorProperties({"name","internalName","compartmentId","category","cloudType","properties","lifecycleState","timeCreated","timeUpdated","managementAgentEligibilityStatus"}) public LogAnalyticsEntityType(String name, String internalName, String compartmentId, String category, EntityCloudType cloudType, List<EntityTypeProperty> properties, EntityLifecycleStates lifecycleState, Date timeCreated, Date timeUpdated, LogAnalyticsEntityType.ManagementAgentEligibilityStatus managementAgentEligibilityStatus)
Deprecated.
-
-
Method Detail
-
builder
public static LogAnalyticsEntityType.Builder builder()
Create a new builder.
-
toBuilder
public LogAnalyticsEntityType.Builder toBuilder()
-
getName
public String getName()
Log analytics entity type name.- Returns:
- the value
-
getInternalName
public String getInternalName()
Internal name for the log analytics entity type.- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).- Returns:
- the value
-
getCategory
public String getCategory()
Log analytics entity type category.Category will be used for grouping and filtering.
- Returns:
- the value
-
getCloudType
public EntityCloudType getCloudType()
Log analytics entity type group.That can be CLOUD (OCI) or NON_CLOUD otherwise.
- Returns:
- the value
-
getProperties
public List<EntityTypeProperty> getProperties()
The parameters used in file patterns specified in log sources for this log analytics entity type.- Returns:
- the value
-
getLifecycleState
public EntityLifecycleStates getLifecycleState()
The current lifecycle state of the log analytics entity.- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
Time the log analytics entity type was created.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
Time the log analytics entity type was updated.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getManagementAgentEligibilityStatus
public LogAnalyticsEntityType.ManagementAgentEligibilityStatus getManagementAgentEligibilityStatus()
This field indicates whether logs for entities of this type can be collected using a management agent.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-