Class DatadogProps.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.DatadogProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DatadogProps>
- Enclosing interface:
DatadogProps
@Stability(Stable)
public static final class DatadogProps.Builder
extends Object
implements software.amazon.jsii.Builder<DatadogProps>
A builder for
DatadogProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofDatadogProps.getApiKey()backupMode(HttpBackupMode backupMode) Sets the value ofDatadogProps.getBackupMode()bufferingHints(HttpBufferingHints bufferingHints) Sets the value ofDatadogProps.getBufferingHints()build()Builds the configured instance.endpoint(DatadogEndpoint endpoint) Sets the value ofDatadogProps.getEndpoint()loggingConfig(ILoggingConfig loggingConfig) Sets the value ofCommonDestinationProps.getLoggingConfig()processor(IDataProcessor processor) Deprecated.Use `processors` instead.processors(List<? extends IDataProcessor> processors) Sets the value ofCommonDestinationProps.getProcessors()requestCompression(HttpCompression requestCompression) Sets the value ofDatadogProps.getRequestCompression()retryOptions(HttpRetryOptions retryOptions) Sets the value ofDatadogProps.getRetryOptions()Sets the value ofCommonDestinationProps.getRole()s3Backup(DestinationS3BackupProps s3Backup) Sets the value ofCommonDestinationProps.getS3Backup()tags(List<? extends HttpAttribute> tags) Sets the value ofDatadogProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiKey
Sets the value ofDatadogProps.getApiKey()- Parameters:
apiKey- The API key used to authenticate with Datadog. This parameter is required. Delivered to Firehose through AWS Secrets Manager (Firehose retrieves it at runtime rather than embedding it in the template).- Returns:
this
-
endpoint
Sets the value ofDatadogProps.getEndpoint()- Parameters:
endpoint- The Datadog endpoint to send data to. This parameter is required.- Returns:
this
-
backupMode
Sets the value ofDatadogProps.getBackupMode()- Parameters:
backupMode- Describes the S3 bucket backup options for the data that Kinesis Data Firehose delivers to Datadog.- Returns:
this
-
bufferingHints
Sets the value ofDatadogProps.getBufferingHints()- Parameters:
bufferingHints- Buffering hints for data delivery to the Datadog endpoint.- Returns:
this
-
requestCompression
@Stability(Stable) public DatadogProps.Builder requestCompression(HttpCompression requestCompression) Sets the value ofDatadogProps.getRequestCompression()- Parameters:
requestCompression- Content encoding applied to the request body before delivery.- Returns:
this
-
retryOptions
Sets the value ofDatadogProps.getRetryOptions()- Parameters:
retryOptions- Retry behavior when Kinesis Data Firehose cannot deliver data to Datadog.- Returns:
this
-
tags
Sets the value ofDatadogProps.getTags()- Parameters:
tags- Datadog tags to apply for filtering.- Returns:
this
-
loggingConfig
Sets the value ofCommonDestinationProps.getLoggingConfig()- 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.- Returns:
this
-
processor
Deprecated.Use `processors` instead.Sets the value ofCommonDestinationProps.getProcessor()- Parameters:
processor- The data transformation that should be performed on the data before writing to the destination.- Returns:
this
-
processors
@Stability(Stable) public DatadogProps.Builder processors(List<? extends IDataProcessor> processors) Sets the value ofCommonDestinationProps.getProcessors()- Parameters:
processors- The data transformation that should be performed on the data before writing to the destination.- Returns:
this
-
role
Sets the value ofCommonDestinationProps.getRole()- Parameters:
role- The IAM role associated with this destination. Assumed by Amazon Data Firehose to invoke processors and write to destinations- Returns:
this
-
s3Backup
Sets the value ofCommonDestinationProps.getS3Backup()- Parameters:
s3Backup- The configuration for backing up source records to S3.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DatadogProps>- Returns:
- a new instance of
DatadogProps - Throws:
NullPointerException- if any required attribute was not provided
-