Class CfnClusterPropsMixin.FirehoseProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.msk.mixins.CfnClusterPropsMixin.FirehoseProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin.FirehoseProperty>
- Enclosing interface:
CfnClusterPropsMixin.FirehoseProperty
@Stability(Stable)
public static final class CfnClusterPropsMixin.FirehoseProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPropsMixin.FirehoseProperty>
A builder for
CfnClusterPropsMixin.FirehoseProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.deliveryStream(String deliveryStream) Sets the value ofCfnClusterPropsMixin.FirehoseProperty.getDeliveryStream()Sets the value ofCfnClusterPropsMixin.FirehoseProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnClusterPropsMixin.FirehoseProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deliveryStream
@Stability(Stable) public CfnClusterPropsMixin.FirehoseProperty.Builder deliveryStream(String deliveryStream) Sets the value ofCfnClusterPropsMixin.FirehoseProperty.getDeliveryStream()- Parameters:
deliveryStream- The Kinesis Data Firehose delivery stream that is the destination for broker logs.- Returns:
this
-
enabled
Sets the value ofCfnClusterPropsMixin.FirehoseProperty.getEnabled()- Parameters:
enabled- Specifies whether broker logs get send to the specified Kinesis Data Firehose delivery stream.- Returns:
this
-
enabled
@Stability(Stable) public CfnClusterPropsMixin.FirehoseProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnClusterPropsMixin.FirehoseProperty.getEnabled()- Parameters:
enabled- Specifies whether broker logs get send to the specified Kinesis Data Firehose delivery stream.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterPropsMixin.FirehoseProperty>- Returns:
- a new instance of
CfnClusterPropsMixin.FirehoseProperty - Throws:
NullPointerException- if any required attribute was not provided
-