Class CfnTable.MagneticStoreWritePropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.timestream.CfnTable.MagneticStoreWritePropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTable.MagneticStoreWritePropertiesProperty>
- Enclosing interface:
CfnTable.MagneticStoreWritePropertiesProperty
@Stability(Stable)
public static final class CfnTable.MagneticStoreWritePropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTable.MagneticStoreWritePropertiesProperty>
A builder for
CfnTable.MagneticStoreWritePropertiesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enableMagneticStoreWrites(Boolean enableMagneticStoreWrites) enableMagneticStoreWrites(IResolvable enableMagneticStoreWrites) magneticStoreRejectedDataLocation(IResolvable magneticStoreRejectedDataLocation) magneticStoreRejectedDataLocation(CfnTable.MagneticStoreRejectedDataLocationProperty magneticStoreRejectedDataLocation)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enableMagneticStoreWrites
@Stability(Stable) public CfnTable.MagneticStoreWritePropertiesProperty.Builder enableMagneticStoreWrites(Boolean enableMagneticStoreWrites) - Parameters:
enableMagneticStoreWrites- A flag to enable magnetic store writes. This parameter is required.- Returns:
this
-
enableMagneticStoreWrites
@Stability(Stable) public CfnTable.MagneticStoreWritePropertiesProperty.Builder enableMagneticStoreWrites(IResolvable enableMagneticStoreWrites) - Parameters:
enableMagneticStoreWrites- A flag to enable magnetic store writes. This parameter is required.- Returns:
this
-
magneticStoreRejectedDataLocation
@Stability(Stable) public CfnTable.MagneticStoreWritePropertiesProperty.Builder magneticStoreRejectedDataLocation(IResolvable magneticStoreRejectedDataLocation) Sets the value ofCfnTable.MagneticStoreWritePropertiesProperty.getMagneticStoreRejectedDataLocation()- Parameters:
magneticStoreRejectedDataLocation- The location to write error reports for records rejected asynchronously during magnetic store writes.- Returns:
this
-
magneticStoreRejectedDataLocation
@Stability(Stable) public CfnTable.MagneticStoreWritePropertiesProperty.Builder magneticStoreRejectedDataLocation(CfnTable.MagneticStoreRejectedDataLocationProperty magneticStoreRejectedDataLocation) Sets the value ofCfnTable.MagneticStoreWritePropertiesProperty.getMagneticStoreRejectedDataLocation()- Parameters:
magneticStoreRejectedDataLocation- The location to write error reports for records rejected asynchronously during magnetic store writes.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTable.MagneticStoreWritePropertiesProperty>- Returns:
- a new instance of
CfnTable.MagneticStoreWritePropertiesProperty - Throws:
NullPointerException- if any required attribute was not provided
-