Class UpdateLogAnalyticsEntityDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.model.UpdateLogAnalyticsEntityDetails.Builder
-
- Enclosing class:
- UpdateLogAnalyticsEntityDetails
public static class UpdateLogAnalyticsEntityDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateLogAnalyticsEntityDetailsbuild()UpdateLogAnalyticsEntityDetails.Buildercopy(UpdateLogAnalyticsEntityDetails model)UpdateLogAnalyticsEntityDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.UpdateLogAnalyticsEntityDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.UpdateLogAnalyticsEntityDetails.Builderhostname(String hostname)The hostname where the entity represented here is actually present.UpdateLogAnalyticsEntityDetails.BuildermanagementAgentId(String managementAgentId)The OCID of the Management Agent.UpdateLogAnalyticsEntityDetails.Buildermetadata(LogAnalyticsMetadataDetails metadata)UpdateLogAnalyticsEntityDetails.Buildername(String name)Log analytics entity name.UpdateLogAnalyticsEntityDetails.Builderproperties(Map<String,String> properties)The name/value pairs for parameter values to be used in file patterns specified in log sources.UpdateLogAnalyticsEntityDetails.BuildertimeLastDiscovered(Date timeLastDiscovered)The date and time the resource was last discovered, in the format defined by RFC3339.UpdateLogAnalyticsEntityDetails.BuildertimezoneRegion(String timezoneRegion)The timezone region of the log analytics entity.
-
-
-
Method Detail
-
name
public UpdateLogAnalyticsEntityDetails.Builder name(String name)
Log analytics entity name.- Parameters:
name- the value to set- Returns:
- this builder
-
managementAgentId
public UpdateLogAnalyticsEntityDetails.Builder managementAgentId(String managementAgentId)
The OCID of the Management Agent.- Parameters:
managementAgentId- the value to set- Returns:
- this builder
-
timezoneRegion
public UpdateLogAnalyticsEntityDetails.Builder timezoneRegion(String timezoneRegion)
The timezone region of the log analytics entity.- Parameters:
timezoneRegion- the value to set- Returns:
- this builder
-
hostname
public 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.
- Parameters:
hostname- the value to set- Returns:
- this builder
-
properties
public UpdateLogAnalyticsEntityDetails.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
-
freeformTags
public 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”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
timeLastDiscovered
public UpdateLogAnalyticsEntityDetails.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 UpdateLogAnalyticsEntityDetails.Builder metadata(LogAnalyticsMetadataDetails metadata)
-
build
public UpdateLogAnalyticsEntityDetails build()
-
copy
public UpdateLogAnalyticsEntityDetails.Builder copy(UpdateLogAnalyticsEntityDetails model)
-
-