Class CfnDeliveryStream.PartitionFieldProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.CfnDeliveryStream.PartitionFieldProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStream.PartitionFieldProperty>
- Enclosing interface:
CfnDeliveryStream.PartitionFieldProperty
@Stability(Stable)
public static final class CfnDeliveryStream.PartitionFieldProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStream.PartitionFieldProperty>
A builder for
CfnDeliveryStream.PartitionFieldProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.sourceName
(String sourceName) Sets the value ofCfnDeliveryStream.PartitionFieldProperty.getSourceName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sourceName
@Stability(Stable) public CfnDeliveryStream.PartitionFieldProperty.Builder sourceName(String sourceName) Sets the value ofCfnDeliveryStream.PartitionFieldProperty.getSourceName()
- Parameters:
sourceName
- The column name to be configured in partition spec. This parameter is required. Amazon Data Firehose is in preview release and is subject to change.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeliveryStream.PartitionFieldProperty>
- Returns:
- a new instance of
CfnDeliveryStream.PartitionFieldProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-