Package codes.grow.packages.datadoglogs
Class DatadogLogClient.Options.Builder
java.lang.Object
codes.grow.packages.datadoglogs.DatadogLogClient.Options.Builder
- Enclosing class:
DatadogLogClient.Options
Builder of
DatadogLogClient.Options.-
Method Summary
Modifier and TypeMethodDescriptionbatchOptions(BatchOptions batchOptions) Sets the batch options.build()Builds the options.limits(DatadogLogExporter.Limits limits) Sets the intake request limits.redaction(RedactionProcessor redaction) Sets the redaction processor; null disables redaction.Adds resource attributes (for exampleservice.name).
-
Method Details
-
batchOptions
Sets the batch options.- Parameters:
batchOptions- options- Returns:
- this builder
-
resource
Adds resource attributes (for exampleservice.name).- Parameters:
resource- attributes- Returns:
- this builder
-
redaction
Sets the redaction processor; null disables redaction.- Parameters:
redaction- processor- Returns:
- this builder
-
limits
Sets the intake request limits.- Parameters:
limits- limits- Returns:
- this builder
-
build
Builds the options.- Returns:
- the options
-