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