Package com.oracle.bmc.logging.model
Class GrokPattern.Builder
- java.lang.Object
- 
- com.oracle.bmc.logging.model.GrokPattern.Builder
 
- 
- Enclosing class:
- GrokPattern
 
 public static class GrokPattern.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description GrokPatternbuild()GrokPattern.Buildercopy(GrokPattern model)GrokPattern.BuilderfieldTimeFormat(String fieldTimeFormat)Process value using the specified format.GrokPattern.BuilderfieldTimeKey(String fieldTimeKey)Specify the time field for the event time.GrokPattern.BuilderfieldTimeZone(String fieldTimeZone)Use the specified time zone.GrokPattern.Buildername(String name)The name key to tag this Grok pattern.GrokPattern.Builderpattern(String pattern)The Grok pattern.
 
- 
- 
- 
Method Detail- 
patternpublic GrokPattern.Builder pattern(String pattern) The Grok pattern.- Parameters:
- pattern- the value to set
- Returns:
- this builder
 
 - 
namepublic GrokPattern.Builder name(String name) The name key to tag this Grok pattern.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
fieldTimeKeypublic GrokPattern.Builder fieldTimeKey(String fieldTimeKey) Specify the time field for the event time.If the event doesn’t have this field, the current time is used. - Parameters:
- fieldTimeKey- the value to set
- Returns:
- this builder
 
 - 
fieldTimeFormatpublic GrokPattern.Builder fieldTimeFormat(String fieldTimeFormat) Process value using the specified format.This is available only when time_type is a string. - Parameters:
- fieldTimeFormat- the value to set
- Returns:
- this builder
 
 - 
fieldTimeZonepublic GrokPattern.Builder fieldTimeZone(String fieldTimeZone) Use the specified time zone.The time value can be parsed or formatted in the specified time zone. - Parameters:
- fieldTimeZone- the value to set
- Returns:
- this builder
 
 - 
buildpublic GrokPattern build() 
 - 
copypublic GrokPattern.Builder copy(GrokPattern model) 
 
- 
 
-