@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 the LogAnalyticsEntityType.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 LogAnalyticsEntityType.Builder
, which maintain a
set of all explicitly set fields called LogAnalyticsEntityType.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 |
LogAnalyticsEntityType.Builder |
static class |
LogAnalyticsEntityType.ManagementAgentEligibilityStatus
This field indicates whether logs for entities of this type can be collected using a
management agent.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and 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.cloud.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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static LogAnalyticsEntityType.Builder builder()
Create a new builder.
public LogAnalyticsEntityType.Builder toBuilder()
public String getName()
Log analytics entity type name.
public String getInternalName()
Internal name for the log analytics entity type.
public String getCompartmentId()
Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
public String getCategory()
Log analytics entity type category. Category will be used for grouping and filtering.
public EntityCloudType getCloudType()
Log analytics entity type group. That can be CLOUD (OCI) or NON_CLOUD otherwise.
public List<EntityTypeProperty> getProperties()
The parameters used in file patterns specified in log sources for this log analytics entity type.
public EntityLifecycleStates getLifecycleState()
The current lifecycle state of the log analytics entity.
public Date getTimeCreated()
Time the log analytics entity type was created. An RFC3339 formatted datetime string.
public Date getTimeUpdated()
Time the log analytics entity type was updated. An RFC3339 formatted datetime string.
public LogAnalyticsEntityType.ManagementAgentEligibilityStatus getManagementAgentEligibilityStatus()
This field indicates whether logs for entities of this type can be collected using a management agent.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.