Class CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty>
- Enclosing interface:
CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty
@Stability(Stable)
public static final class CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbufferingHints
(IResolvable bufferingHints) bufferingHints
(CfnDeliveryStream.BufferingHintsProperty bufferingHints) build()
Builds the configured instance.cloudWatchLoggingOptions
(IResolvable cloudWatchLoggingOptions) cloudWatchLoggingOptions
(CfnDeliveryStream.CloudWatchLoggingOptionsProperty cloudWatchLoggingOptions) endpointConfiguration
(IResolvable endpointConfiguration) endpointConfiguration
(CfnDeliveryStream.HttpEndpointConfigurationProperty endpointConfiguration) processingConfiguration
(IResolvable processingConfiguration) processingConfiguration
(CfnDeliveryStream.ProcessingConfigurationProperty processingConfiguration) requestConfiguration
(IResolvable requestConfiguration) requestConfiguration
(CfnDeliveryStream.HttpEndpointRequestConfigurationProperty requestConfiguration) retryOptions
(IResolvable retryOptions) retryOptions
(CfnDeliveryStream.RetryOptionsProperty retryOptions) s3BackupMode
(String s3BackupMode) s3Configuration
(IResolvable s3Configuration) s3Configuration
(CfnDeliveryStream.S3DestinationConfigurationProperty s3Configuration) secretsManagerConfiguration
(IResolvable secretsManagerConfiguration) secretsManagerConfiguration
(CfnDeliveryStream.SecretsManagerConfigurationProperty secretsManagerConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endpointConfiguration
@Stability(Stable) public CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.Builder endpointConfiguration(IResolvable endpointConfiguration) Sets the value ofCfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.getEndpointConfiguration()
- Parameters:
endpointConfiguration
- The configuration of the HTTP endpoint selected as the destination. This parameter is required.- Returns:
this
-
endpointConfiguration
@Stability(Stable) public CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.Builder endpointConfiguration(CfnDeliveryStream.HttpEndpointConfigurationProperty endpointConfiguration) Sets the value ofCfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.getEndpointConfiguration()
- Parameters:
endpointConfiguration
- The configuration of the HTTP endpoint selected as the destination. This parameter is required.- Returns:
this
-
s3Configuration
@Stability(Stable) public CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.Builder s3Configuration(IResolvable s3Configuration) Sets the value ofCfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.getS3Configuration()
- Parameters:
s3Configuration
- Describes the configuration of a destination in Amazon S3. This parameter is required.- Returns:
this
-
s3Configuration
@Stability(Stable) public CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.Builder s3Configuration(CfnDeliveryStream.S3DestinationConfigurationProperty s3Configuration) Sets the value ofCfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.getS3Configuration()
- Parameters:
s3Configuration
- Describes the configuration of a destination in Amazon S3. This parameter is required.- Returns:
this
-
bufferingHints
@Stability(Stable) public CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.Builder bufferingHints(IResolvable bufferingHints) Sets the value ofCfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.getBufferingHints()
- Parameters:
bufferingHints
- The buffering options that can be used before data is delivered to the specified destination. Kinesis Data Firehose treats these options as hints, and it might choose to use more optimal values. The SizeInMBs and IntervalInSeconds parameters are optional. However, if you specify a value for one of them, you must also provide a value for the other.- Returns:
this
-
bufferingHints
@Stability(Stable) public CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.Builder bufferingHints(CfnDeliveryStream.BufferingHintsProperty bufferingHints) Sets the value ofCfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.getBufferingHints()
- Parameters:
bufferingHints
- The buffering options that can be used before data is delivered to the specified destination. Kinesis Data Firehose treats these options as hints, and it might choose to use more optimal values. The SizeInMBs and IntervalInSeconds parameters are optional. However, if you specify a value for one of them, you must also provide a value for the other.- Returns:
this
-
cloudWatchLoggingOptions
@Stability(Stable) public CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.Builder cloudWatchLoggingOptions(IResolvable cloudWatchLoggingOptions) Sets the value ofCfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.getCloudWatchLoggingOptions()
- Parameters:
cloudWatchLoggingOptions
- Describes the Amazon CloudWatch logging options for your delivery stream.- Returns:
this
-
cloudWatchLoggingOptions
@Stability(Stable) public CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.Builder cloudWatchLoggingOptions(CfnDeliveryStream.CloudWatchLoggingOptionsProperty cloudWatchLoggingOptions) Sets the value ofCfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.getCloudWatchLoggingOptions()
- Parameters:
cloudWatchLoggingOptions
- Describes the Amazon CloudWatch logging options for your delivery stream.- Returns:
this
-
processingConfiguration
@Stability(Stable) public CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.Builder processingConfiguration(IResolvable processingConfiguration) Sets the value ofCfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.getProcessingConfiguration()
- Parameters:
processingConfiguration
- Describes the data processing configuration.- Returns:
this
-
processingConfiguration
@Stability(Stable) public CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.Builder processingConfiguration(CfnDeliveryStream.ProcessingConfigurationProperty processingConfiguration) Sets the value ofCfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.getProcessingConfiguration()
- Parameters:
processingConfiguration
- Describes the data processing configuration.- Returns:
this
-
requestConfiguration
@Stability(Stable) public CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.Builder requestConfiguration(IResolvable requestConfiguration) Sets the value ofCfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.getRequestConfiguration()
- Parameters:
requestConfiguration
- The configuration of the request sent to the HTTP endpoint specified as the destination.- Returns:
this
-
requestConfiguration
@Stability(Stable) public CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.Builder requestConfiguration(CfnDeliveryStream.HttpEndpointRequestConfigurationProperty requestConfiguration) Sets the value ofCfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.getRequestConfiguration()
- Parameters:
requestConfiguration
- The configuration of the request sent to the HTTP endpoint specified as the destination.- Returns:
this
-
retryOptions
@Stability(Stable) public CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.Builder retryOptions(IResolvable retryOptions) - Parameters:
retryOptions
- Describes the retry behavior in case Kinesis Data Firehose is unable to deliver data to the specified HTTP endpoint destination, or if it doesn't receive a valid acknowledgment of receipt from the specified HTTP endpoint destination.- Returns:
this
-
retryOptions
@Stability(Stable) public CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.Builder retryOptions(CfnDeliveryStream.RetryOptionsProperty retryOptions) - Parameters:
retryOptions
- Describes the retry behavior in case Kinesis Data Firehose is unable to deliver data to the specified HTTP endpoint destination, or if it doesn't receive a valid acknowledgment of receipt from the specified HTTP endpoint destination.- Returns:
this
-
roleArn
@Stability(Stable) public CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.Builder roleArn(String roleArn) - Parameters:
roleArn
- Kinesis Data Firehose uses this IAM role for all the permissions that the delivery stream needs.- Returns:
this
-
s3BackupMode
@Stability(Stable) public CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.Builder s3BackupMode(String s3BackupMode) - Parameters:
s3BackupMode
- Describes the S3 bucket backup options for the data that Kinesis Data Firehose delivers to the HTTP endpoint destination. You can back up all documents (AllData) or only the documents that Kinesis Data Firehose could not deliver to the specified HTTP endpoint destination (FailedDataOnly).- Returns:
this
-
secretsManagerConfiguration
@Stability(Stable) public CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.Builder secretsManagerConfiguration(IResolvable secretsManagerConfiguration) Sets the value ofCfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.getSecretsManagerConfiguration()
- Parameters:
secretsManagerConfiguration
- The configuration that defines how you access secrets for HTTP Endpoint destination.- Returns:
this
-
secretsManagerConfiguration
@Stability(Stable) public CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.Builder secretsManagerConfiguration(CfnDeliveryStream.SecretsManagerConfigurationProperty secretsManagerConfiguration) Sets the value ofCfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.getSecretsManagerConfiguration()
- Parameters:
secretsManagerConfiguration
- The configuration that defines how you access secrets for HTTP Endpoint destination.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty>
- Returns:
- a new instance of
CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-