Class CfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kinesisfirehose.CfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty>
- Enclosing interface:
CfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty
@Stability(Stable)
public static final class CfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbufferingHints(IResolvable bufferingHints) build()Builds the configured instance.cloudWatchLoggingOptions(CfnDeliveryStreamPropsMixin.CloudWatchLoggingOptionsProperty cloudWatchLoggingOptions) cloudWatchLoggingOptions(IResolvable cloudWatchLoggingOptions) hecAcknowledgmentTimeoutInSeconds(Number hecAcknowledgmentTimeoutInSeconds) hecEndpoint(String hecEndpoint) hecEndpointType(String hecEndpointType) processingConfiguration(CfnDeliveryStreamPropsMixin.ProcessingConfigurationProperty processingConfiguration) processingConfiguration(IResolvable processingConfiguration) retryOptions(IResolvable retryOptions) s3BackupMode(String s3BackupMode) s3Configuration(IResolvable s3Configuration) secretsManagerConfiguration(CfnDeliveryStreamPropsMixin.SecretsManagerConfigurationProperty secretsManagerConfiguration) secretsManagerConfiguration(IResolvable secretsManagerConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bufferingHints
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.Builder bufferingHints(IResolvable bufferingHints) Sets the value ofCfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.getBufferingHints()- Parameters:
bufferingHints- The buffering options. If no value is specified, the default values for Splunk are used.- Returns:
this
-
bufferingHints
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.Builder bufferingHints(CfnDeliveryStreamPropsMixin.SplunkBufferingHintsProperty bufferingHints) Sets the value ofCfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.getBufferingHints()- Parameters:
bufferingHints- The buffering options. If no value is specified, the default values for Splunk are used.- Returns:
this
-
cloudWatchLoggingOptions
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.Builder cloudWatchLoggingOptions(IResolvable cloudWatchLoggingOptions) Sets the value ofCfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.getCloudWatchLoggingOptions()- Parameters:
cloudWatchLoggingOptions- The Amazon CloudWatch logging options for your Firehose stream.- Returns:
this
-
cloudWatchLoggingOptions
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.Builder cloudWatchLoggingOptions(CfnDeliveryStreamPropsMixin.CloudWatchLoggingOptionsProperty cloudWatchLoggingOptions) Sets the value ofCfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.getCloudWatchLoggingOptions()- Parameters:
cloudWatchLoggingOptions- The Amazon CloudWatch logging options for your Firehose stream.- Returns:
this
-
hecAcknowledgmentTimeoutInSeconds
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.Builder hecAcknowledgmentTimeoutInSeconds(Number hecAcknowledgmentTimeoutInSeconds) Sets the value ofCfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.getHecAcknowledgmentTimeoutInSeconds()- Parameters:
hecAcknowledgmentTimeoutInSeconds- The amount of time that Firehose waits to receive an acknowledgment from Splunk after it sends it data. At the end of the timeout period, Firehose either tries to send the data again or considers it an error, based on your retry settings.- Returns:
this
-
hecEndpoint
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.Builder hecEndpoint(String hecEndpoint) Sets the value ofCfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.getHecEndpoint()- Parameters:
hecEndpoint- The HTTP Event Collector (HEC) endpoint to which Firehose sends your data.- Returns:
this
-
hecEndpointType
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.Builder hecEndpointType(String hecEndpointType) Sets the value ofCfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.getHecEndpointType()- Parameters:
hecEndpointType- This type can be eitherRaworEvent.- Returns:
this
-
hecToken
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.Builder hecToken(String hecToken) - Parameters:
hecToken- This is a GUID that you obtain from your Splunk cluster when you create a new HEC endpoint.- Returns:
this
-
processingConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.Builder processingConfiguration(IResolvable processingConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.getProcessingConfiguration()- Parameters:
processingConfiguration- The data processing configuration.- Returns:
this
-
processingConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.Builder processingConfiguration(CfnDeliveryStreamPropsMixin.ProcessingConfigurationProperty processingConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.getProcessingConfiguration()- Parameters:
processingConfiguration- The data processing configuration.- Returns:
this
-
retryOptions
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.Builder retryOptions(IResolvable retryOptions) Sets the value ofCfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.getRetryOptions()- Parameters:
retryOptions- The retry behavior in case Firehose is unable to deliver data to Splunk, or if it doesn't receive an acknowledgment of receipt from Splunk.- Returns:
this
-
retryOptions
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.Builder retryOptions(CfnDeliveryStreamPropsMixin.SplunkRetryOptionsProperty retryOptions) Sets the value ofCfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.getRetryOptions()- Parameters:
retryOptions- The retry behavior in case Firehose is unable to deliver data to Splunk, or if it doesn't receive an acknowledgment of receipt from Splunk.- Returns:
this
-
s3BackupMode
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.Builder s3BackupMode(String s3BackupMode) Sets the value ofCfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.getS3BackupMode()- Parameters:
s3BackupMode- Defines how documents should be delivered to Amazon S3. When set toFailedEventsOnly, Firehose writes any data that could not be indexed to the configured Amazon S3 destination. When set toAllEvents, Firehose delivers all incoming records to Amazon S3, and also writes failed documents to Amazon S3. The default value isFailedEventsOnly.You can update this backup mode from
FailedEventsOnlytoAllEvents. You can't update it fromAllEventstoFailedEventsOnly.- Returns:
this
-
s3Configuration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.Builder s3Configuration(IResolvable s3Configuration) Sets the value ofCfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.getS3Configuration()- Parameters:
s3Configuration- The configuration for the backup Amazon S3 location.- Returns:
this
-
s3Configuration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.Builder s3Configuration(CfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty s3Configuration) Sets the value ofCfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.getS3Configuration()- Parameters:
s3Configuration- The configuration for the backup Amazon S3 location.- Returns:
this
-
secretsManagerConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.Builder secretsManagerConfiguration(IResolvable secretsManagerConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.getSecretsManagerConfiguration()- Parameters:
secretsManagerConfiguration- The configuration that defines how you access secrets for Splunk.- Returns:
this
-
secretsManagerConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.Builder secretsManagerConfiguration(CfnDeliveryStreamPropsMixin.SecretsManagerConfigurationProperty secretsManagerConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty.getSecretsManagerConfiguration()- Parameters:
secretsManagerConfiguration- The configuration that defines how you access secrets for Splunk.- Returns:
this
-
build
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty>- Returns:
- a new instance of
CfnDeliveryStreamPropsMixin.SplunkDestinationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-