Class CfnTable.KinesisStreamSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.dynamodb.CfnTable.KinesisStreamSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTable.KinesisStreamSpecificationProperty>
- Enclosing interface:
CfnTable.KinesisStreamSpecificationProperty
@Stability(Stable)
public static final class CfnTable.KinesisStreamSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTable.KinesisStreamSpecificationProperty>
A builder for
CfnTable.KinesisStreamSpecificationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapproximateCreationDateTimePrecision
(String approximateCreationDateTimePrecision) build()
Builds the configured instance.Sets the value ofCfnTable.KinesisStreamSpecificationProperty.getStreamArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
streamArn
@Stability(Stable) public CfnTable.KinesisStreamSpecificationProperty.Builder streamArn(String streamArn) Sets the value ofCfnTable.KinesisStreamSpecificationProperty.getStreamArn()
- Parameters:
streamArn
- The ARN for a specific Kinesis data stream. This parameter is required. Length Constraints: Minimum length of 37. Maximum length of 1024.- Returns:
this
-
approximateCreationDateTimePrecision
@Stability(Stable) public CfnTable.KinesisStreamSpecificationProperty.Builder approximateCreationDateTimePrecision(String approximateCreationDateTimePrecision) Sets the value ofCfnTable.KinesisStreamSpecificationProperty.getApproximateCreationDateTimePrecision()
- Parameters:
approximateCreationDateTimePrecision
- The precision for the time and date that the stream was created.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTable.KinesisStreamSpecificationProperty>
- Returns:
- a new instance of
CfnTable.KinesisStreamSpecificationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-