Class CfnDeliveryStream.MSKSourceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.CfnDeliveryStream.MSKSourceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStream.MSKSourceConfigurationProperty>
- Enclosing interface:
CfnDeliveryStream.MSKSourceConfigurationProperty
@Stability(Stable)
public static final class CfnDeliveryStream.MSKSourceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStream.MSKSourceConfigurationProperty>
A builder for
CfnDeliveryStream.MSKSourceConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticationConfiguration(IResolvable authenticationConfiguration) authenticationConfiguration(CfnDeliveryStream.AuthenticationConfigurationProperty authenticationConfiguration) build()Builds the configured instance.mskClusterArn(String mskClusterArn) Sets the value ofCfnDeliveryStream.MSKSourceConfigurationProperty.getMskClusterArn()Sets the value ofCfnDeliveryStream.MSKSourceConfigurationProperty.getTopicName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authenticationConfiguration
@Stability(Stable) public CfnDeliveryStream.MSKSourceConfigurationProperty.Builder authenticationConfiguration(IResolvable authenticationConfiguration) - Parameters:
authenticationConfiguration- The authentication configuration of the Amazon MSK cluster. This parameter is required.- Returns:
this
-
authenticationConfiguration
@Stability(Stable) public CfnDeliveryStream.MSKSourceConfigurationProperty.Builder authenticationConfiguration(CfnDeliveryStream.AuthenticationConfigurationProperty authenticationConfiguration) - Parameters:
authenticationConfiguration- The authentication configuration of the Amazon MSK cluster. This parameter is required.- Returns:
this
-
mskClusterArn
@Stability(Stable) public CfnDeliveryStream.MSKSourceConfigurationProperty.Builder mskClusterArn(String mskClusterArn) Sets the value ofCfnDeliveryStream.MSKSourceConfigurationProperty.getMskClusterArn()- Parameters:
mskClusterArn- The ARN of the Amazon MSK cluster. This parameter is required.- Returns:
this
-
topicName
@Stability(Stable) public CfnDeliveryStream.MSKSourceConfigurationProperty.Builder topicName(String topicName) Sets the value ofCfnDeliveryStream.MSKSourceConfigurationProperty.getTopicName()- Parameters:
topicName- The topic name within the Amazon MSK cluster. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeliveryStream.MSKSourceConfigurationProperty>- Returns:
- a new instance of
CfnDeliveryStream.MSKSourceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-