public static class UpdateLogAnalyticsEntityDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public UpdateLogAnalyticsEntityDetails.Builder name(String name)
Log analytics entity name.
name
- the value to setpublic UpdateLogAnalyticsEntityDetails.Builder managementAgentId(String managementAgentId)
The OCID of the Management Agent.
managementAgentId
- the value to setpublic UpdateLogAnalyticsEntityDetails.Builder timezoneRegion(String timezoneRegion)
The timezone region of the log analytics entity.
timezoneRegion
- the value to setpublic UpdateLogAnalyticsEntityDetails.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 UpdateLogAnalyticsEntityDetails.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 UpdateLogAnalyticsEntityDetails.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 UpdateLogAnalyticsEntityDetails.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 UpdateLogAnalyticsEntityDetails.Builder timeLastDiscovered(Date timeLastDiscovered)
The date and time the resource was last discovered, in the format defined by RFC3339.
timeLastDiscovered
- the value to setpublic UpdateLogAnalyticsEntityDetails.Builder metadata(LogAnalyticsMetadataDetails metadata)
public UpdateLogAnalyticsEntityDetails build()
public UpdateLogAnalyticsEntityDetails.Builder copy(UpdateLogAnalyticsEntityDetails model)
Copyright © 2016–2024. All rights reserved.