Class LogAnalyticsEntityType.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.model.LogAnalyticsEntityType.Builder
-
- Enclosing class:
- LogAnalyticsEntityType
public static class LogAnalyticsEntityType.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogAnalyticsEntityTypebuild()LogAnalyticsEntityType.Buildercategory(String category)Log analytics entity type category.LogAnalyticsEntityType.BuildercloudType(EntityCloudType cloudType)Log analytics entity type group.LogAnalyticsEntityType.BuildercompartmentId(String compartmentId)Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).LogAnalyticsEntityType.Buildercopy(LogAnalyticsEntityType model)LogAnalyticsEntityType.BuilderinternalName(String internalName)Internal name for the log analytics entity type.LogAnalyticsEntityType.BuilderlifecycleState(EntityLifecycleStates lifecycleState)The current lifecycle state of the log analytics entity.LogAnalyticsEntityType.BuildermanagementAgentEligibilityStatus(LogAnalyticsEntityType.ManagementAgentEligibilityStatus managementAgentEligibilityStatus)This field indicates whether logs for entities of this type can be collected using a management agent.LogAnalyticsEntityType.Buildername(String name)Log analytics entity type name.LogAnalyticsEntityType.Builderproperties(List<EntityTypeProperty> properties)The parameters used in file patterns specified in log sources for this log analytics entity type.LogAnalyticsEntityType.BuildertimeCreated(Date timeCreated)Time the log analytics entity type was created.LogAnalyticsEntityType.BuildertimeUpdated(Date timeUpdated)Time the log analytics entity type was updated.
-
-
-
Method Detail
-
name
public LogAnalyticsEntityType.Builder name(String name)
Log analytics entity type name.- Parameters:
name- the value to set- Returns:
- this builder
-
internalName
public LogAnalyticsEntityType.Builder internalName(String internalName)
Internal name for the log analytics entity type.- Parameters:
internalName- the value to set- Returns:
- this builder
-
compartmentId
public LogAnalyticsEntityType.Builder compartmentId(String compartmentId)
Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
category
public LogAnalyticsEntityType.Builder category(String category)
Log analytics entity type category.Category will be used for grouping and filtering.
- Parameters:
category- the value to set- Returns:
- this builder
-
cloudType
public LogAnalyticsEntityType.Builder cloudType(EntityCloudType cloudType)
Log analytics entity type group.That can be CLOUD (OCI) or NON_CLOUD otherwise.
- Parameters:
cloudType- the value to set- Returns:
- this builder
-
properties
public LogAnalyticsEntityType.Builder properties(List<EntityTypeProperty> properties)
The parameters used in file patterns specified in log sources for this log analytics entity type.- Parameters:
properties- the value to set- Returns:
- this builder
-
lifecycleState
public LogAnalyticsEntityType.Builder lifecycleState(EntityLifecycleStates lifecycleState)
The current lifecycle state of the log analytics entity.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
timeCreated
public LogAnalyticsEntityType.Builder timeCreated(Date timeCreated)
Time the log analytics entity type was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public LogAnalyticsEntityType.Builder timeUpdated(Date timeUpdated)
Time the log analytics entity type was updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
managementAgentEligibilityStatus
public LogAnalyticsEntityType.Builder managementAgentEligibilityStatus(LogAnalyticsEntityType.ManagementAgentEligibilityStatus managementAgentEligibilityStatus)
This field indicates whether logs for entities of this type can be collected using a management agent.- Parameters:
managementAgentEligibilityStatus- the value to set- Returns:
- this builder
-
build
public LogAnalyticsEntityType build()
-
copy
public LogAnalyticsEntityType.Builder copy(LogAnalyticsEntityType model)
-
-