Class CfnChannel.PartitionSpecProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesis.CfnChannel.PartitionSpecProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.PartitionSpecProperty>
- Enclosing interface:
CfnChannel.PartitionSpecProperty
@Stability(Stable)
public static final class CfnChannel.PartitionSpecProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.PartitionSpecProperty>
A builder for
CfnChannel.PartitionSpecProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.partitionFields(List<? extends Object> partitionFields) Sets the value ofCfnChannel.PartitionSpecProperty.getPartitionFields()partitionFields(IResolvable partitionFields) Sets the value ofCfnChannel.PartitionSpecProperty.getPartitionFields()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
partitionFields
@Stability(Stable) public CfnChannel.PartitionSpecProperty.Builder partitionFields(IResolvable partitionFields) Sets the value ofCfnChannel.PartitionSpecProperty.getPartitionFields()- Parameters:
partitionFields- List of partition fields that define how records are partitioned when written to the destination table. This parameter is required.- Returns:
this
-
partitionFields
@Stability(Stable) public CfnChannel.PartitionSpecProperty.Builder partitionFields(List<? extends Object> partitionFields) Sets the value ofCfnChannel.PartitionSpecProperty.getPartitionFields()- Parameters:
partitionFields- List of partition fields that define how records are partitioned when written to the destination table. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.PartitionSpecProperty>- Returns:
- a new instance of
CfnChannel.PartitionSpecProperty - Throws:
NullPointerException- if any required attribute was not provided
-