Class LogAnalyticsEntity.Builder
- java.lang.Object
- 
- com.oracle.bmc.loganalytics.model.LogAnalyticsEntity.Builder
 
- 
- Enclosing class:
- LogAnalyticsEntity
 
 public static class LogAnalyticsEntity.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description LogAnalyticsEntity.BuilderareLogsCollected(Boolean areLogsCollected)The Boolean flag to indicate if logs are collected for an entity for log analytics usage.LogAnalyticsEntity.BuilderassociatedSourcesCount(Integer associatedSourcesCount)The count of associated log sources for a given log analytics entity.LogAnalyticsEntitybuild()LogAnalyticsEntity.BuildercloudResourceId(String cloudResourceId)The OCID of the Cloud resource which this entity is a representation of.LogAnalyticsEntity.BuildercompartmentId(String compartmentId)Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).LogAnalyticsEntity.Buildercopy(LogAnalyticsEntity model)LogAnalyticsEntity.BuildercreationSource(CreationSource creationSource)LogAnalyticsEntity.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.LogAnalyticsEntity.BuilderentityTypeInternalName(String entityTypeInternalName)Internal name for the log analytics entity type.LogAnalyticsEntity.BuilderentityTypeName(String entityTypeName)Log analytics entity type name.LogAnalyticsEntity.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.LogAnalyticsEntity.Builderhostname(String hostname)The hostname where the entity represented here is actually present.LogAnalyticsEntity.Builderid(String id)The log analytics entity OCID.LogAnalyticsEntity.BuilderlifecycleDetails(String lifecycleDetails)lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.LogAnalyticsEntity.BuilderlifecycleState(EntityLifecycleStates lifecycleState)The current state of the log analytics entity.LogAnalyticsEntity.BuildermanagementAgentCompartmentId(String managementAgentCompartmentId)Management agent (management-agents resource kind) compartment OCIDLogAnalyticsEntity.BuildermanagementAgentDisplayName(String managementAgentDisplayName)Management agent (management-agents resource kind) display nameLogAnalyticsEntity.BuildermanagementAgentId(String managementAgentId)The OCID of the Management Agent.LogAnalyticsEntity.Buildermetadata(LogAnalyticsMetadataSummary metadata)LogAnalyticsEntity.Buildername(String name)Log analytics entity name.LogAnalyticsEntity.Builderproperties(Map<String,String> properties)The name/value pairs for parameter values to be used in file patterns specified in log sources.LogAnalyticsEntity.BuildersourceId(String sourceId)This indicates the type of source.LogAnalyticsEntity.BuildertimeCreated(Date timeCreated)The date and time the resource was created, in the format defined by RFC3339.LogAnalyticsEntity.BuildertimeLastDiscovered(Date timeLastDiscovered)The date and time the resource was last discovered, in the format defined by RFC3339.LogAnalyticsEntity.BuildertimeUpdated(Date timeUpdated)The date and time the resource was last updated, in the format defined by RFC3339.LogAnalyticsEntity.BuildertimezoneRegion(String timezoneRegion)The timezone region of the log analytics entity.
 
- 
- 
- 
Method Detail- 
idpublic LogAnalyticsEntity.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
 
 - 
namepublic LogAnalyticsEntity.Builder name(String name) Log analytics entity name.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic LogAnalyticsEntity.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
 
 - 
entityTypeNamepublic LogAnalyticsEntity.Builder entityTypeName(String entityTypeName) Log analytics entity type name.- Parameters:
- entityTypeName- the value to set
- Returns:
- this builder
 
 - 
entityTypeInternalNamepublic LogAnalyticsEntity.Builder entityTypeInternalName(String entityTypeInternalName) Internal name for the log analytics entity type.- Parameters:
- entityTypeInternalName- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic LogAnalyticsEntity.Builder lifecycleState(EntityLifecycleStates lifecycleState) The current state of the log analytics entity.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic LogAnalyticsEntity.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
 
 - 
managementAgentIdpublic LogAnalyticsEntity.Builder managementAgentId(String managementAgentId) The OCID of the Management Agent.- Parameters:
- managementAgentId- the value to set
- Returns:
- this builder
 
 - 
managementAgentDisplayNamepublic LogAnalyticsEntity.Builder managementAgentDisplayName(String managementAgentDisplayName) Management agent (management-agents resource kind) display name- Parameters:
- managementAgentDisplayName- the value to set
- Returns:
- this builder
 
 - 
managementAgentCompartmentIdpublic LogAnalyticsEntity.Builder managementAgentCompartmentId(String managementAgentCompartmentId) Management agent (management-agents resource kind) compartment OCID- Parameters:
- managementAgentCompartmentId- the value to set
- Returns:
- this builder
 
 - 
timezoneRegionpublic LogAnalyticsEntity.Builder timezoneRegion(String timezoneRegion) The timezone region of the log analytics entity.- Parameters:
- timezoneRegion- the value to set
- Returns:
- this builder
 
 - 
propertiespublic LogAnalyticsEntity.Builder properties(Map<String,String> properties) The name/value pairs for parameter values to be used in file patterns specified in log sources.- Parameters:
- properties- the value to set
- Returns:
- this builder
 
 - 
creationSourcepublic LogAnalyticsEntity.Builder creationSource(CreationSource creationSource) 
 - 
timeCreatedpublic LogAnalyticsEntity.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
 
 - 
timeUpdatedpublic LogAnalyticsEntity.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
 
 - 
timeLastDiscoveredpublic LogAnalyticsEntity.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
 
 - 
metadatapublic LogAnalyticsEntity.Builder metadata(LogAnalyticsMetadataSummary metadata) 
 - 
areLogsCollectedpublic LogAnalyticsEntity.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
 
 - 
cloudResourceIdpublic LogAnalyticsEntity.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
 
 - 
hostnamepublic LogAnalyticsEntity.Builder hostname(String hostname) The hostname where the entity represented here is actually present.This would be the output one would get if they run echo $HOSTNAME on Linux or an equivalent OS command. This may be different from management agents host since logs may be collected remotely. - Parameters:
- hostname- the value to set
- Returns:
- this builder
 
 - 
sourceIdpublic LogAnalyticsEntity.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
 
 - 
freeformTagspublic LogAnalyticsEntity.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
 
 - 
definedTagspublic LogAnalyticsEntity.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
 
 - 
associatedSourcesCountpublic LogAnalyticsEntity.Builder associatedSourcesCount(Integer associatedSourcesCount) The count of associated log sources for a given log analytics entity.- Parameters:
- associatedSourcesCount- the value to set
- Returns:
- this builder
 
 - 
buildpublic LogAnalyticsEntity build() 
 - 
copypublic LogAnalyticsEntity.Builder copy(LogAnalyticsEntity model) 
 
- 
 
-