Class ChangeStreamPreAndPostImagesOptions

java.lang.Object
com.mongodb.client.model.ChangeStreamPreAndPostImagesOptions

public class ChangeStreamPreAndPostImagesOptions extends Object
Options for change stream pre- and post- images.
Since:
4.7
See Also:
MongoDB documentation
Create Collection
  • Constructor Details

    • ChangeStreamPreAndPostImagesOptions

      public ChangeStreamPreAndPostImagesOptions(boolean enabled)
      Construct an instance
      Parameters:
      enabled - whether change stream pre- and post- images are enabled for the collection
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Gets whether change stream pre- and post- images are enabled for the collection.
      Returns:
      whether change stream pre- and post- images are enabled for the collection
    • toString

      public String toString()
      Overrides:
      toString in class Object