Class Datadog.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.Datadog.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Datadog>
- Enclosing class:
Datadog
@Stability(Stable)
public static final class Datadog.Builder
extends Object
implements software.amazon.jsii.Builder<Datadog>
A fluent builder for
Datadog.-
Method Summary
Modifier and TypeMethodDescriptionThe API key used to authenticate with Datadog.backupMode(HttpBackupMode backupMode) Describes the S3 bucket backup options for the data that Kinesis Data Firehose delivers to Datadog.bufferingHints(HttpBufferingHints bufferingHints) Buffering hints for data delivery to the Datadog endpoint.build()static Datadog.Buildercreate()endpoint(DatadogEndpoint endpoint) The Datadog endpoint to send data to.loggingConfig(ILoggingConfig loggingConfig) Configuration that determines whether to log errors during data transformation or delivery failures, and specifies the CloudWatch log group for storing error logs.processor(IDataProcessor processor) Deprecated.processors(List<? extends IDataProcessor> processors) The data transformation that should be performed on the data before writing to the destination.requestCompression(HttpCompression requestCompression) Content encoding applied to the request body before delivery.retryOptions(HttpRetryOptions retryOptions) Retry behavior when Kinesis Data Firehose cannot deliver data to Datadog.The IAM role associated with this destination.s3Backup(DestinationS3BackupProps s3Backup) The configuration for backing up source records to S3.tags(List<? extends HttpAttribute> tags) Datadog tags to apply for filtering.
-
Method Details
-
create
- Returns:
- a new instance of
Datadog.Builder.
-
loggingConfig
Configuration that determines whether to log errors during data transformation or delivery failures, and specifies the CloudWatch log group for storing error logs.Default: - errors will be logged and a log group will be created for you.
- Parameters:
loggingConfig- Configuration that determines whether to log errors during data transformation or delivery failures, and specifies the CloudWatch log group for storing error logs. This parameter is required.- Returns:
this
-
processor
Deprecated.Useprocessorsinstead.(deprecated) The data transformation that should be performed on the data before writing to the destination.Default: - no data transformation will occur.
- Parameters:
processor- The data transformation that should be performed on the data before writing to the destination. This parameter is required.- Returns:
this
-
processors
The data transformation that should be performed on the data before writing to the destination.Default: - no data transformation will occur.
- Parameters:
processors- The data transformation that should be performed on the data before writing to the destination. This parameter is required.- Returns:
this
-
role
The IAM role associated with this destination.Assumed by Amazon Data Firehose to invoke processors and write to destinations
Default: - a role will be created with default permissions.
- Parameters:
role- The IAM role associated with this destination. This parameter is required.- Returns:
this
-
s3Backup
The configuration for backing up source records to S3.Default: - source records will not be backed up to S3.
- Parameters:
s3Backup- The configuration for backing up source records to S3. This parameter is required.- Returns:
this
-
apiKey
The API key used to authenticate with Datadog.Delivered to Firehose through AWS Secrets Manager (Firehose retrieves it at runtime rather than embedding it in the template).
- Parameters:
apiKey- The API key used to authenticate with Datadog. This parameter is required.- Returns:
this
-
endpoint
The Datadog endpoint to send data to.- Parameters:
endpoint- The Datadog endpoint to send data to. This parameter is required.- Returns:
this
-
backupMode
Describes the S3 bucket backup options for the data that Kinesis Data Firehose delivers to Datadog.Default: HttpBackupMode.FAILED
- Parameters:
backupMode- Describes the S3 bucket backup options for the data that Kinesis Data Firehose delivers to Datadog. This parameter is required.- Returns:
this
-
bufferingHints
Buffering hints for data delivery to the Datadog endpoint.Default: - interval of 60 seconds, size of 4 MiB
- Parameters:
bufferingHints- Buffering hints for data delivery to the Datadog endpoint. This parameter is required.- Returns:
this
-
requestCompression
Content encoding applied to the request body before delivery.Default: HttpCompression.GZIP
- Parameters:
requestCompression- Content encoding applied to the request body before delivery. This parameter is required.- Returns:
this
-
retryOptions
Retry behavior when Kinesis Data Firehose cannot deliver data to Datadog.Default: - duration of 60 seconds
- Parameters:
retryOptions- Retry behavior when Kinesis Data Firehose cannot deliver data to Datadog. This parameter is required.- Returns:
this
-
tags
Datadog tags to apply for filtering.Default: - No tags.
- Parameters:
tags- Datadog tags to apply for filtering. This parameter is required.- Returns:
this
-
build
-
processorsinstead.