Class LogAnalyticsEntitySummary.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.model.LogAnalyticsEntitySummary.Builder
-
- Enclosing class:
- LogAnalyticsEntitySummary
public static class LogAnalyticsEntitySummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogAnalyticsEntitySummary.Builder
areLogsCollected(Boolean areLogsCollected)
The Boolean flag to indicate if logs are collected for an entity for log analytics usage.LogAnalyticsEntitySummary
build()
LogAnalyticsEntitySummary.Builder
cloudResourceId(String cloudResourceId)
The OCID of the Cloud resource which this entity is a representation of.LogAnalyticsEntitySummary.Builder
compartmentId(String compartmentId)
Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).LogAnalyticsEntitySummary.Builder
copy(LogAnalyticsEntitySummary model)
LogAnalyticsEntitySummary.Builder
creationSource(CreationSource creationSource)
LogAnalyticsEntitySummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.LogAnalyticsEntitySummary.Builder
entityTypeInternalName(String entityTypeInternalName)
Internal name for the log analytics entity type.LogAnalyticsEntitySummary.Builder
entityTypeName(String entityTypeName)
Log analytics entity type name.LogAnalyticsEntitySummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.LogAnalyticsEntitySummary.Builder
id(String id)
The log analytics entity OCID.LogAnalyticsEntitySummary.Builder
lifecycleDetails(String lifecycleDetails)
lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.LogAnalyticsEntitySummary.Builder
lifecycleState(EntityLifecycleStates lifecycleState)
The current state of the log analytics entity.LogAnalyticsEntitySummary.Builder
managementAgentId(String managementAgentId)
The OCID of the Management Agent.LogAnalyticsEntitySummary.Builder
metadata(LogAnalyticsMetadataCollection metadata)
LogAnalyticsEntitySummary.Builder
name(String name)
Log analytics entity name.LogAnalyticsEntitySummary.Builder
sourceId(String sourceId)
This indicates the type of source.LogAnalyticsEntitySummary.Builder
timeCreated(Date timeCreated)
The date and time the resource was created, in the format defined by RFC3339.LogAnalyticsEntitySummary.Builder
timeLastDiscovered(Date timeLastDiscovered)
The date and time the resource was last discovered, in the format defined by RFC3339.LogAnalyticsEntitySummary.Builder
timeUpdated(Date timeUpdated)
The date and time the resource was last updated, in the format defined by RFC3339.LogAnalyticsEntitySummary.Builder
timezoneRegion(String timezoneRegion)
The timezone region of the log analytics entity.
-
-
-
Method Detail
-
id
public LogAnalyticsEntitySummary.Builder id(String id)
The log analytics entity OCID.This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
- Parameters:
id
- the value to set- Returns:
- this builder
-
name
public LogAnalyticsEntitySummary.Builder name(String name)
Log analytics entity name.- Parameters:
name
- the value to set- Returns:
- this builder
-
compartmentId
public LogAnalyticsEntitySummary.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
-
entityTypeName
public LogAnalyticsEntitySummary.Builder entityTypeName(String entityTypeName)
Log analytics entity type name.- Parameters:
entityTypeName
- the value to set- Returns:
- this builder
-
entityTypeInternalName
public LogAnalyticsEntitySummary.Builder entityTypeInternalName(String entityTypeInternalName)
Internal name for the log analytics entity type.- Parameters:
entityTypeInternalName
- the value to set- Returns:
- this builder
-
lifecycleState
public LogAnalyticsEntitySummary.Builder lifecycleState(EntityLifecycleStates lifecycleState)
The current state of the log analytics entity.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public LogAnalyticsEntitySummary.Builder lifecycleDetails(String lifecycleDetails)
lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
managementAgentId
public LogAnalyticsEntitySummary.Builder managementAgentId(String managementAgentId)
The OCID of the Management Agent.- Parameters:
managementAgentId
- the value to set- Returns:
- this builder
-
cloudResourceId
public LogAnalyticsEntitySummary.Builder cloudResourceId(String cloudResourceId)
The OCID of the Cloud resource which this entity is a representation of.This may be blank when the entity represents a non-cloud resource that the customer may have on their premises.
- Parameters:
cloudResourceId
- the value to set- Returns:
- this builder
-
timezoneRegion
public LogAnalyticsEntitySummary.Builder timezoneRegion(String timezoneRegion)
The timezone region of the log analytics entity.- Parameters:
timezoneRegion
- the value to set- Returns:
- this builder
-
timeCreated
public LogAnalyticsEntitySummary.Builder timeCreated(Date timeCreated)
The date and time the resource was created, in the format defined by RFC3339.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public LogAnalyticsEntitySummary.Builder timeUpdated(Date timeUpdated)
The date and time the resource was last updated, in the format defined by RFC3339.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
timeLastDiscovered
public LogAnalyticsEntitySummary.Builder timeLastDiscovered(Date timeLastDiscovered)
The date and time the resource was last discovered, in the format defined by RFC3339.- Parameters:
timeLastDiscovered
- the value to set- Returns:
- this builder
-
metadata
public LogAnalyticsEntitySummary.Builder metadata(LogAnalyticsMetadataCollection metadata)
-
areLogsCollected
public LogAnalyticsEntitySummary.Builder areLogsCollected(Boolean areLogsCollected)
The Boolean flag to indicate if logs are collected for an entity for log analytics usage.- Parameters:
areLogsCollected
- the value to set- Returns:
- this builder
-
sourceId
public LogAnalyticsEntitySummary.Builder sourceId(String sourceId)
This indicates the type of source.It is primarily for Enterprise Manager Repository ID.
- Parameters:
sourceId
- the value to set- Returns:
- this builder
-
creationSource
public LogAnalyticsEntitySummary.Builder creationSource(CreationSource creationSource)
-
freeformTags
public LogAnalyticsEntitySummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public LogAnalyticsEntitySummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public LogAnalyticsEntitySummary build()
-
copy
public LogAnalyticsEntitySummary.Builder copy(LogAnalyticsEntitySummary model)
-
-