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