Class CfnDeliveryStream.AuthenticationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.CfnDeliveryStream.AuthenticationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStream.AuthenticationConfigurationProperty>
- Enclosing interface:
CfnDeliveryStream.AuthenticationConfigurationProperty
@Stability(Stable)
public static final class CfnDeliveryStream.AuthenticationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStream.AuthenticationConfigurationProperty>
A builder for
CfnDeliveryStream.AuthenticationConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.connectivity
(String connectivity) Sets the value ofCfnDeliveryStream.AuthenticationConfigurationProperty.getConnectivity()
Sets the value ofCfnDeliveryStream.AuthenticationConfigurationProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectivity
@Stability(Stable) public CfnDeliveryStream.AuthenticationConfigurationProperty.Builder connectivity(String connectivity) Sets the value ofCfnDeliveryStream.AuthenticationConfigurationProperty.getConnectivity()
- Parameters:
connectivity
- The type of connectivity used to access the Amazon MSK cluster. This parameter is required.- Returns:
this
-
roleArn
@Stability(Stable) public CfnDeliveryStream.AuthenticationConfigurationProperty.Builder roleArn(String roleArn) Sets the value ofCfnDeliveryStream.AuthenticationConfigurationProperty.getRoleArn()
- Parameters:
roleArn
- The ARN of the role used to access the Amazon MSK cluster. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeliveryStream.AuthenticationConfigurationProperty>
- Returns:
- a new instance of
CfnDeliveryStream.AuthenticationConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-