Class CfnGlobalTable.KinesisStreamSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.dynamodb.CfnGlobalTable.KinesisStreamSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGlobalTable.KinesisStreamSpecificationProperty>
- Enclosing interface:
CfnGlobalTable.KinesisStreamSpecificationProperty
@Stability(Stable)
public static final class CfnGlobalTable.KinesisStreamSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGlobalTable.KinesisStreamSpecificationProperty>
A builder for
CfnGlobalTable.KinesisStreamSpecificationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapproximateCreationDateTimePrecision
(String approximateCreationDateTimePrecision) build()
Builds the configured instance.Sets the value ofCfnGlobalTable.KinesisStreamSpecificationProperty.getStreamArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
streamArn
@Stability(Stable) public CfnGlobalTable.KinesisStreamSpecificationProperty.Builder streamArn(String streamArn) Sets the value ofCfnGlobalTable.KinesisStreamSpecificationProperty.getStreamArn()
- Parameters:
streamArn
- The ARN for a specific Kinesis data stream. This parameter is required.- Returns:
this
-
approximateCreationDateTimePrecision
@Stability(Stable) public CfnGlobalTable.KinesisStreamSpecificationProperty.Builder approximateCreationDateTimePrecision(String approximateCreationDateTimePrecision) Sets the value ofCfnGlobalTable.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<CfnGlobalTable.KinesisStreamSpecificationProperty>
- Returns:
- a new instance of
CfnGlobalTable.KinesisStreamSpecificationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-