Class CfnVerifiedAccessInstance.KinesisDataFirehoseProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnVerifiedAccessInstance.KinesisDataFirehoseProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVerifiedAccessInstance.KinesisDataFirehoseProperty>
- Enclosing interface:
CfnVerifiedAccessInstance.KinesisDataFirehoseProperty
@Stability(Stable)
public static final class CfnVerifiedAccessInstance.KinesisDataFirehoseProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVerifiedAccessInstance.KinesisDataFirehoseProperty>
A builder for
CfnVerifiedAccessInstance.KinesisDataFirehoseProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.deliveryStream
(String deliveryStream) Sets the value ofCfnVerifiedAccessInstance.KinesisDataFirehoseProperty.getEnabled()
enabled
(IResolvable enabled) Sets the value ofCfnVerifiedAccessInstance.KinesisDataFirehoseProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deliveryStream
@Stability(Stable) public CfnVerifiedAccessInstance.KinesisDataFirehoseProperty.Builder deliveryStream(String deliveryStream) - Parameters:
deliveryStream
- The ID of the delivery stream.- Returns:
this
-
enabled
@Stability(Stable) public CfnVerifiedAccessInstance.KinesisDataFirehoseProperty.Builder enabled(Boolean enabled) Sets the value ofCfnVerifiedAccessInstance.KinesisDataFirehoseProperty.getEnabled()
- Parameters:
enabled
- Indicates whether logging is enabled.- Returns:
this
-
enabled
@Stability(Stable) public CfnVerifiedAccessInstance.KinesisDataFirehoseProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnVerifiedAccessInstance.KinesisDataFirehoseProperty.getEnabled()
- Parameters:
enabled
- Indicates whether logging is enabled.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVerifiedAccessInstance.KinesisDataFirehoseProperty>
- Returns:
- a new instance of
CfnVerifiedAccessInstance.KinesisDataFirehoseProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-