Class CfnDeliveryStreamPropsMixin.MSKSourceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kinesisfirehose.CfnDeliveryStreamPropsMixin.MSKSourceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.MSKSourceConfigurationProperty>
- Enclosing interface:
CfnDeliveryStreamPropsMixin.MSKSourceConfigurationProperty
@Stability(Stable)
public static final class CfnDeliveryStreamPropsMixin.MSKSourceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.MSKSourceConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticationConfiguration(CfnDeliveryStreamPropsMixin.AuthenticationConfigurationProperty authenticationConfiguration) authenticationConfiguration(IResolvable authenticationConfiguration) build()Builds the configured instance.mskClusterArn(String mskClusterArn) readFromTimestamp(String readFromTimestamp)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authenticationConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.MSKSourceConfigurationProperty.Builder authenticationConfiguration(IResolvable authenticationConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.MSKSourceConfigurationProperty.getAuthenticationConfiguration()- Parameters:
authenticationConfiguration- The authentication configuration of the Amazon MSK cluster.- Returns:
this
-
authenticationConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.MSKSourceConfigurationProperty.Builder authenticationConfiguration(CfnDeliveryStreamPropsMixin.AuthenticationConfigurationProperty authenticationConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.MSKSourceConfigurationProperty.getAuthenticationConfiguration()- Parameters:
authenticationConfiguration- The authentication configuration of the Amazon MSK cluster.- Returns:
this
-
mskClusterArn
@Stability(Stable) public CfnDeliveryStreamPropsMixin.MSKSourceConfigurationProperty.Builder mskClusterArn(String mskClusterArn) - Parameters:
mskClusterArn- The ARN of the Amazon MSK cluster.- Returns:
this
-
readFromTimestamp
@Stability(Stable) public CfnDeliveryStreamPropsMixin.MSKSourceConfigurationProperty.Builder readFromTimestamp(String readFromTimestamp) - Parameters:
readFromTimestamp- The start date and time in UTC for the offset position within your MSK topic from where Firehose begins to read. By default, this is set to timestamp when Firehose becomes Active.If you want to create a Firehose stream with Earliest start position from SDK or CLI, you need to set the
ReadFromTimestampparameter to Epoch (1970-01-01T00:00:00Z).- Returns:
this
-
topicName
@Stability(Stable) public CfnDeliveryStreamPropsMixin.MSKSourceConfigurationProperty.Builder topicName(String topicName) - Parameters:
topicName- The topic name within the Amazon MSK cluster.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.MSKSourceConfigurationProperty>- Returns:
- a new instance of
CfnDeliveryStreamPropsMixin.MSKSourceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-