public static class LogAnalyticsEntity.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LogAnalyticsEntity.Builder |
areLogsCollected(Boolean areLogsCollected)
The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
|
LogAnalyticsEntity |
build() |
LogAnalyticsEntity.Builder |
cloudResourceId(String cloudResourceId)
The OCID of the Cloud resource which this entity is a representation of.
|
LogAnalyticsEntity.Builder |
compartmentId(String compartmentId)
Compartment Identifier [OCID]
(https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
LogAnalyticsEntity.Builder |
copy(LogAnalyticsEntity model) |
LogAnalyticsEntity.Builder |
creationSource(CreationSource creationSource) |
LogAnalyticsEntity.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
LogAnalyticsEntity.Builder |
entityTypeInternalName(String entityTypeInternalName)
Internal name for the log analytics entity type.
|
LogAnalyticsEntity.Builder |
entityTypeName(String entityTypeName)
Log analytics entity type name.
|
LogAnalyticsEntity.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
LogAnalyticsEntity.Builder |
hostname(String hostname)
The hostname where the entity represented here is actually present.
|
LogAnalyticsEntity.Builder |
id(String id)
The log analytics entity OCID.
|
LogAnalyticsEntity.Builder |
lifecycleDetails(String lifecycleDetails)
lifecycleDetails has additional information regarding substeps such as management agent
plugin deployment.
|
LogAnalyticsEntity.Builder |
lifecycleState(EntityLifecycleStates lifecycleState)
The current state of the log analytics entity.
|
LogAnalyticsEntity.Builder |
managementAgentCompartmentId(String managementAgentCompartmentId)
Management agent (management-agents resource kind) compartment OCID
|
LogAnalyticsEntity.Builder |
managementAgentDisplayName(String managementAgentDisplayName)
Management agent (management-agents resource kind) display name
|
LogAnalyticsEntity.Builder |
managementAgentId(String managementAgentId)
The OCID of the Management Agent.
|
LogAnalyticsEntity.Builder |
metadata(LogAnalyticsMetadataSummary metadata) |
LogAnalyticsEntity.Builder |
name(String name)
Log analytics entity name.
|
LogAnalyticsEntity.Builder |
properties(Map<String,String> properties)
The name/value pairs for parameter values to be used in file patterns specified in log
sources.
|
LogAnalyticsEntity.Builder |
sourceId(String sourceId)
This indicates the type of source.
|
LogAnalyticsEntity.Builder |
timeCreated(Date timeCreated)
The date and time the resource was created, in the format defined by RFC3339.
|
LogAnalyticsEntity.Builder |
timeLastDiscovered(Date timeLastDiscovered)
The date and time the resource was last discovered, in the format defined by RFC3339.
|
LogAnalyticsEntity.Builder |
timeUpdated(Date timeUpdated)
The date and time the resource was last updated, in the format defined by RFC3339.
|
LogAnalyticsEntity.Builder |
timezoneRegion(String timezoneRegion)
The timezone region of the log analytics entity.
|
public 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.
id
- the value to setpublic LogAnalyticsEntity.Builder name(String name)
Log analytics entity name.
name
- the value to setpublic LogAnalyticsEntity.Builder compartmentId(String compartmentId)
Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
compartmentId
- the value to setpublic LogAnalyticsEntity.Builder entityTypeName(String entityTypeName)
Log analytics entity type name.
entityTypeName
- the value to setpublic LogAnalyticsEntity.Builder entityTypeInternalName(String entityTypeInternalName)
Internal name for the log analytics entity type.
entityTypeInternalName
- the value to setpublic LogAnalyticsEntity.Builder lifecycleState(EntityLifecycleStates lifecycleState)
The current state of the log analytics entity.
lifecycleState
- the value to setpublic LogAnalyticsEntity.Builder lifecycleDetails(String lifecycleDetails)
lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
lifecycleDetails
- the value to setpublic LogAnalyticsEntity.Builder managementAgentId(String managementAgentId)
The OCID of the Management Agent.
managementAgentId
- the value to setpublic LogAnalyticsEntity.Builder managementAgentDisplayName(String managementAgentDisplayName)
Management agent (management-agents resource kind) display name
managementAgentDisplayName
- the value to setpublic LogAnalyticsEntity.Builder managementAgentCompartmentId(String managementAgentCompartmentId)
Management agent (management-agents resource kind) compartment OCID
managementAgentCompartmentId
- the value to setpublic LogAnalyticsEntity.Builder timezoneRegion(String timezoneRegion)
The timezone region of the log analytics entity.
timezoneRegion
- the value to setpublic LogAnalyticsEntity.Builder properties(Map<String,String> properties)
The name/value pairs for parameter values to be used in file patterns specified in log sources.
properties
- the value to setpublic LogAnalyticsEntity.Builder creationSource(CreationSource creationSource)
public LogAnalyticsEntity.Builder timeCreated(Date timeCreated)
The date and time the resource was created, in the format defined by RFC3339.
timeCreated
- the value to setpublic LogAnalyticsEntity.Builder timeUpdated(Date timeUpdated)
The date and time the resource was last updated, in the format defined by RFC3339.
timeUpdated
- the value to setpublic LogAnalyticsEntity.Builder timeLastDiscovered(Date timeLastDiscovered)
The date and time the resource was last discovered, in the format defined by RFC3339.
timeLastDiscovered
- the value to setpublic LogAnalyticsEntity.Builder metadata(LogAnalyticsMetadataSummary metadata)
public LogAnalyticsEntity.Builder areLogsCollected(Boolean areLogsCollected)
The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
areLogsCollected
- the value to setpublic 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.
cloudResourceId
- the value to setpublic 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.
hostname
- the value to setpublic LogAnalyticsEntity.Builder sourceId(String sourceId)
This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
sourceId
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic LogAnalyticsEntity build()
public LogAnalyticsEntity.Builder copy(LogAnalyticsEntity model)
Copyright © 2016–2024. All rights reserved.