Interface MagneticStoreWriteProperties.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MagneticStoreWriteProperties.Builder,
,MagneticStoreWriteProperties> SdkBuilder<MagneticStoreWriteProperties.Builder,
,MagneticStoreWriteProperties> SdkPojo
- Enclosing class:
MagneticStoreWriteProperties
public static interface MagneticStoreWriteProperties.Builder
extends SdkPojo, CopyableBuilder<MagneticStoreWriteProperties.Builder,MagneticStoreWriteProperties>
-
Method Summary
Modifier and TypeMethodDescriptionenableMagneticStoreWrites
(Boolean enableMagneticStoreWrites) A flag to enable magnetic store writes.magneticStoreRejectedDataLocation
(Consumer<MagneticStoreRejectedDataLocation.Builder> magneticStoreRejectedDataLocation) The location to write error reports for records rejected asynchronously during magnetic store writes.magneticStoreRejectedDataLocation
(MagneticStoreRejectedDataLocation magneticStoreRejectedDataLocation) The location to write error reports for records rejected asynchronously during magnetic store writes.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
enableMagneticStoreWrites
A flag to enable magnetic store writes.
- Parameters:
enableMagneticStoreWrites
- A flag to enable magnetic store writes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
magneticStoreRejectedDataLocation
MagneticStoreWriteProperties.Builder magneticStoreRejectedDataLocation(MagneticStoreRejectedDataLocation magneticStoreRejectedDataLocation) The location to write error reports for records rejected asynchronously during magnetic store writes.
- Parameters:
magneticStoreRejectedDataLocation
- The location to write error reports for records rejected asynchronously during magnetic store writes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
magneticStoreRejectedDataLocation
default MagneticStoreWriteProperties.Builder magneticStoreRejectedDataLocation(Consumer<MagneticStoreRejectedDataLocation.Builder> magneticStoreRejectedDataLocation) The location to write error reports for records rejected asynchronously during magnetic store writes.
This is a convenience method that creates an instance of theMagneticStoreRejectedDataLocation.Builder
avoiding the need to create one manually viaMagneticStoreRejectedDataLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomagneticStoreRejectedDataLocation(MagneticStoreRejectedDataLocation)
.- Parameters:
magneticStoreRejectedDataLocation
- a consumer that will call methods onMagneticStoreRejectedDataLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-