Class CreateLogAnalyticsEntityDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.loganalytics.model.CreateLogAnalyticsEntityDetails.Builder
 
- 
- Enclosing class:
- CreateLogAnalyticsEntityDetails
 
 public static class CreateLogAnalyticsEntityDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateLogAnalyticsEntityDetailsbuild()CreateLogAnalyticsEntityDetails.BuildercloudResourceId(String cloudResourceId)The OCID of the Cloud resource which this entity is a representation of.CreateLogAnalyticsEntityDetails.BuildercompartmentId(String compartmentId)Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).CreateLogAnalyticsEntityDetails.Buildercopy(CreateLogAnalyticsEntityDetails model)CreateLogAnalyticsEntityDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateLogAnalyticsEntityDetails.BuilderentityTypeName(String entityTypeName)Log analytics entity type name.CreateLogAnalyticsEntityDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateLogAnalyticsEntityDetails.Builderhostname(String hostname)The hostname where the entity represented here is actually present.CreateLogAnalyticsEntityDetails.BuildermanagementAgentId(String managementAgentId)The OCID of the Management Agent.CreateLogAnalyticsEntityDetails.Buildermetadata(LogAnalyticsMetadataDetails metadata)CreateLogAnalyticsEntityDetails.Buildername(String name)Log analytics entity name.CreateLogAnalyticsEntityDetails.Builderproperties(Map<String,String> properties)The name/value pairs for parameter values to be used in file patterns specified in log sources.CreateLogAnalyticsEntityDetails.BuildersourceId(String sourceId)This indicates the type of source.CreateLogAnalyticsEntityDetails.BuildertimeLastDiscovered(Date timeLastDiscovered)The date and time the resource was last discovered, in the format defined by RFC3339.CreateLogAnalyticsEntityDetails.BuildertimezoneRegion(String timezoneRegion)The timezone region of the log analytics entity.
 
- 
- 
- 
Method Detail- 
namepublic CreateLogAnalyticsEntityDetails.Builder name(String name) Log analytics entity name.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic CreateLogAnalyticsEntityDetails.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 CreateLogAnalyticsEntityDetails.Builder entityTypeName(String entityTypeName) Log analytics entity type name.- Parameters:
- entityTypeName- the value to set
- Returns:
- this builder
 
 - 
managementAgentIdpublic CreateLogAnalyticsEntityDetails.Builder managementAgentId(String managementAgentId) The OCID of the Management Agent.- Parameters:
- managementAgentId- the value to set
- Returns:
- this builder
 
 - 
cloudResourceIdpublic CreateLogAnalyticsEntityDetails.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
 
 - 
timezoneRegionpublic CreateLogAnalyticsEntityDetails.Builder timezoneRegion(String timezoneRegion) The timezone region of the log analytics entity.- Parameters:
- timezoneRegion- the value to set
- Returns:
- this builder
 
 - 
hostnamepublic CreateLogAnalyticsEntityDetails.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 CreateLogAnalyticsEntityDetails.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
 
 - 
propertiespublic CreateLogAnalyticsEntityDetails.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
 
 - 
freeformTagspublic CreateLogAnalyticsEntityDetails.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 CreateLogAnalyticsEntityDetails.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
 
 - 
timeLastDiscoveredpublic CreateLogAnalyticsEntityDetails.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 CreateLogAnalyticsEntityDetails.Builder metadata(LogAnalyticsMetadataDetails metadata) 
 - 
buildpublic CreateLogAnalyticsEntityDetails build() 
 - 
copypublic CreateLogAnalyticsEntityDetails.Builder copy(CreateLogAnalyticsEntityDetails model) 
 
- 
 
-