Class CfnChannel.PartitionFieldProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesis.CfnChannel.PartitionFieldProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.PartitionFieldProperty>
- Enclosing interface:
CfnChannel.PartitionFieldProperty
@Stability(Stable)
public static final class CfnChannel.PartitionFieldProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.PartitionFieldProperty>
A builder for
CfnChannel.PartitionFieldProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.sourceName(String sourceName) Sets the value ofCfnChannel.PartitionFieldProperty.getSourceName()Sets the value ofCfnChannel.PartitionFieldProperty.getTransform()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sourceName
Sets the value ofCfnChannel.PartitionFieldProperty.getSourceName()- Parameters:
sourceName- The name of the source column on which the transform is applied. This parameter is required.- Returns:
this
-
transform
Sets the value ofCfnChannel.PartitionFieldProperty.getTransform()- Parameters:
transform- The partitioning transform applied to the SourceName column. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.PartitionFieldProperty>- Returns:
- a new instance of
CfnChannel.PartitionFieldProperty - Throws:
NullPointerException- if any required attribute was not provided
-