Class LogAnalyticsEntityTypeSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.loganalytics.model.LogAnalyticsEntityTypeSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class LogAnalyticsEntityTypeSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary of a log analytics entity type.
Note: Objects should always be created or deserialized using theLogAnalyticsEntityTypeSummary.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 theLogAnalyticsEntityTypeSummary.Builder
, which maintain a set of all explicitly set fields calledLogAnalyticsEntityTypeSummary.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
LogAnalyticsEntityTypeSummary.Builder
static class
LogAnalyticsEntityTypeSummary.ManagementAgentEligibilityStatus
This field indicates whether logs for entities of this type can be collected using a management agent.
-
Constructor Summary
Constructors Constructor Description LogAnalyticsEntityTypeSummary(String name, String internalName, String category, EntityCloudType cloudType, EntityLifecycleStates lifecycleState, Date timeCreated, Date timeUpdated, LogAnalyticsEntityTypeSummary.ManagementAgentEligibilityStatus managementAgentEligibilityStatus)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogAnalyticsEntityTypeSummary.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
getInternalName()
Internal name for the log analytics entity type.EntityLifecycleStates
getLifecycleState()
The current lifecycle state of the log analytics entity type.LogAnalyticsEntityTypeSummary.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.Date
getTimeCreated()
Time the log analytics entity type was created.Date
getTimeUpdated()
Time the log analytics entity type was updated.int
hashCode()
LogAnalyticsEntityTypeSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
LogAnalyticsEntityTypeSummary
@Deprecated @ConstructorProperties({"name","internalName","category","cloudType","lifecycleState","timeCreated","timeUpdated","managementAgentEligibilityStatus"}) public LogAnalyticsEntityTypeSummary(String name, String internalName, String category, EntityCloudType cloudType, EntityLifecycleStates lifecycleState, Date timeCreated, Date timeUpdated, LogAnalyticsEntityTypeSummary.ManagementAgentEligibilityStatus managementAgentEligibilityStatus)
Deprecated.
-
-
Method Detail
-
builder
public static LogAnalyticsEntityTypeSummary.Builder builder()
Create a new builder.
-
toBuilder
public LogAnalyticsEntityTypeSummary.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
-
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.This can be CLOUD (OCI) or NON_CLOUD otherwise.
- Returns:
- the value
-
getLifecycleState
public EntityLifecycleStates getLifecycleState()
The current lifecycle state of the log analytics entity type.- 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 LogAnalyticsEntityTypeSummary.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
-
-