Class DestinationConfig.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.DestinationConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DestinationConfig>
- Enclosing interface:
- DestinationConfig
@Stability(Experimental)
public static final class DestinationConfig.Builder
extends Object
implements software.amazon.jsii.Builder<DestinationConfig>
A builder for
DestinationConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dependables
(List<? extends IDependable> dependables) Sets the value ofDestinationConfig.getDependables()
extendedS3DestinationConfiguration
(CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty extendedS3DestinationConfiguration) Sets the value ofDestinationConfig.getExtendedS3DestinationConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dependables
@Stability(Experimental) public DestinationConfig.Builder dependables(List<? extends IDependable> dependables) Sets the value ofDestinationConfig.getDependables()
- Parameters:
dependables
- Any resources that were created by the destination when binding it to the stack that must be deployed before the delivery stream is deployed.- Returns:
this
-
extendedS3DestinationConfiguration
@Stability(Experimental) public DestinationConfig.Builder extendedS3DestinationConfiguration(CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty extendedS3DestinationConfiguration) Sets the value ofDestinationConfig.getExtendedS3DestinationConfiguration()
- Parameters:
extendedS3DestinationConfiguration
- S3 destination configuration properties.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<DestinationConfig>
- Returns:
- a new instance of
DestinationConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-