Class CfnDataSource.DeltaSyncConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appsync.CfnDataSource.DeltaSyncConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.DeltaSyncConfigProperty>
- Enclosing interface:
CfnDataSource.DeltaSyncConfigProperty
@Stability(Stable)
public static final class CfnDataSource.DeltaSyncConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.DeltaSyncConfigProperty>
A builder for
CfnDataSource.DeltaSyncConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbaseTableTtl
(String baseTableTtl) Sets the value ofCfnDataSource.DeltaSyncConfigProperty.getBaseTableTtl()
build()
Builds the configured instance.deltaSyncTableName
(String deltaSyncTableName) Sets the value ofCfnDataSource.DeltaSyncConfigProperty.getDeltaSyncTableName()
deltaSyncTableTtl
(String deltaSyncTableTtl) Sets the value ofCfnDataSource.DeltaSyncConfigProperty.getDeltaSyncTableTtl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
baseTableTtl
@Stability(Stable) public CfnDataSource.DeltaSyncConfigProperty.Builder baseTableTtl(String baseTableTtl) Sets the value ofCfnDataSource.DeltaSyncConfigProperty.getBaseTableTtl()
- Parameters:
baseTableTtl
- The number of minutes that an Item is stored in the data source. This parameter is required.- Returns:
this
-
deltaSyncTableName
@Stability(Stable) public CfnDataSource.DeltaSyncConfigProperty.Builder deltaSyncTableName(String deltaSyncTableName) Sets the value ofCfnDataSource.DeltaSyncConfigProperty.getDeltaSyncTableName()
- Parameters:
deltaSyncTableName
- The Delta Sync table name. This parameter is required.- Returns:
this
-
deltaSyncTableTtl
@Stability(Stable) public CfnDataSource.DeltaSyncConfigProperty.Builder deltaSyncTableTtl(String deltaSyncTableTtl) Sets the value ofCfnDataSource.DeltaSyncConfigProperty.getDeltaSyncTableTtl()
- Parameters:
deltaSyncTableTtl
- The number of minutes that a Delta Sync log entry is stored in the Delta Sync table. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.DeltaSyncConfigProperty>
- Returns:
- a new instance of
CfnDataSource.DeltaSyncConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-