Class LogAnalyticsTemplate.Builder
- java.lang.Object
- 
- com.oracle.bmc.loganalytics.model.LogAnalyticsTemplate.Builder
 
- 
- Enclosing class:
- LogAnalyticsTemplate
 
 public static class LogAnalyticsTemplate.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description LogAnalyticsTemplatebuild()LogAnalyticsTemplate.BuildercompartmentId(String compartmentId)Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).LogAnalyticsTemplate.Buildercontent(String content)Base64 encoded template content.LogAnalyticsTemplate.BuildercontentFormat(String contentFormat)Content format.LogAnalyticsTemplate.Buildercopy(LogAnalyticsTemplate model)LogAnalyticsTemplate.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.LogAnalyticsTemplate.Builderdescription(String description)Description for this resource.LogAnalyticsTemplate.Builderfacets(List<TemplateFacet> facets)Facets of the templateLogAnalyticsTemplate.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.LogAnalyticsTemplate.Builderid(String id)The log analytics entity OCID.LogAnalyticsTemplate.BuilderisSystem(Boolean isSystem)The system flag.LogAnalyticsTemplate.BuilderlifecycleState(ConfigLifecycleState lifecycleState)The current state of the template.LogAnalyticsTemplate.Buildername(String name)The template name.LogAnalyticsTemplate.Builderparameters(String parameters)Base64 encoded template parameters.LogAnalyticsTemplate.BuilderparametersFormat(String parametersFormat)Parameters format.LogAnalyticsTemplate.BuilderparametersMetadata(String parametersMetadata)Base64 encoded parameters metadata definition.LogAnalyticsTemplate.BuildertimeCreated(Date timeCreated)The date and time the resource was created, in the format defined by RFC3339.LogAnalyticsTemplate.BuildertimeUpdated(Date timeUpdated)The date and time the resource was last updated, in the format defined by RFC3339.LogAnalyticsTemplate.Buildertype(String type)The template type.
 
- 
- 
- 
Method Detail- 
idpublic LogAnalyticsTemplate.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
 
 - 
descriptionpublic LogAnalyticsTemplate.Builder description(String description) Description for this resource.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic LogAnalyticsTemplate.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
 
 - 
timeCreatedpublic LogAnalyticsTemplate.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 LogAnalyticsTemplate.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
 
 - 
freeformTagspublic LogAnalyticsTemplate.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 LogAnalyticsTemplate.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
 
 - 
namepublic LogAnalyticsTemplate.Builder name(String name) The template name.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
typepublic LogAnalyticsTemplate.Builder type(String type) The template type.- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
isSystempublic LogAnalyticsTemplate.Builder isSystem(Boolean isSystem) The system flag.A value of false denotes a custom, or user defined object. A value of true denotes a built in object. - Parameters:
- isSystem- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic LogAnalyticsTemplate.Builder lifecycleState(ConfigLifecycleState lifecycleState) The current state of the template.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
facetspublic LogAnalyticsTemplate.Builder facets(List<TemplateFacet> facets) Facets of the template- Parameters:
- facets- the value to set
- Returns:
- this builder
 
 - 
contentpublic LogAnalyticsTemplate.Builder content(String content) Base64 encoded template content.- Parameters:
- content- the value to set
- Returns:
- this builder
 
 - 
contentFormatpublic LogAnalyticsTemplate.Builder contentFormat(String contentFormat) Content format.For example - XML. - Parameters:
- contentFormat- the value to set
- Returns:
- this builder
 
 - 
parameterspublic LogAnalyticsTemplate.Builder parameters(String parameters) Base64 encoded template parameters.- Parameters:
- parameters- the value to set
- Returns:
- this builder
 
 - 
parametersFormatpublic LogAnalyticsTemplate.Builder parametersFormat(String parametersFormat) Parameters format.For example - NAME_VALUE_PAIR. - Parameters:
- parametersFormat- the value to set
- Returns:
- this builder
 
 - 
parametersMetadatapublic LogAnalyticsTemplate.Builder parametersMetadata(String parametersMetadata) Base64 encoded parameters metadata definition.- Parameters:
- parametersMetadata- the value to set
- Returns:
- this builder
 
 - 
buildpublic LogAnalyticsTemplate build() 
 - 
copypublic LogAnalyticsTemplate.Builder copy(LogAnalyticsTemplate model) 
 
- 
 
-