Class MongoDbAtlasCollectionDatasetTypeProperties


  • public final class MongoDbAtlasCollectionDatasetTypeProperties
    extends Object
    MongoDB Atlas database dataset properties.
    • Constructor Detail

      • MongoDbAtlasCollectionDatasetTypeProperties

        public MongoDbAtlasCollectionDatasetTypeProperties()
    • Method Detail

      • collection

        public Object collection()
        Get the collection property: The collection name of the MongoDB Atlas database. Type: string (or Expression with resultType string).
        Returns:
        the collection value.
      • withCollection

        public MongoDbAtlasCollectionDatasetTypeProperties withCollection​(Object collection)
        Set the collection property: The collection name of the MongoDB Atlas database. Type: string (or Expression with resultType string).
        Parameters:
        collection - the collection value to set.
        Returns:
        the MongoDbAtlasCollectionDatasetTypeProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.