Package io.vertx.ext.mongo
Class GridFsUploadOptions
- java.lang.Object
-
- io.vertx.ext.mongo.GridFsUploadOptions
-
public class GridFsUploadOptions extends Object
-
-
Constructor Summary
Constructors Constructor Description GridFsUploadOptions()
Default constructorGridFsUploadOptions(JsonObject options)
Constructor from JSONGridFsUploadOptions(GridFsUploadOptions options)
Copy constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Integer
getChunkSizeBytes()
JsonObject
getMetadata()
int
hashCode()
GridFsUploadOptions
setChunkSizeBytes(Integer chunkSizeBytes)
GridFsUploadOptions
setMetadata(JsonObject metadata)
JsonObject
toJson()
Convert to JSONString
toString()
-
-
-
Constructor Detail
-
GridFsUploadOptions
public GridFsUploadOptions()
Default constructor
-
GridFsUploadOptions
public GridFsUploadOptions(GridFsUploadOptions options)
Copy constructor- Parameters:
options
- the one to copy
-
GridFsUploadOptions
public GridFsUploadOptions(JsonObject options)
Constructor from JSON- Parameters:
options
- the JSON
-
-
Method Detail
-
toJson
public JsonObject toJson()
Convert to JSON- Returns:
- the JSON
-
getMetadata
public JsonObject getMetadata()
-
setMetadata
public GridFsUploadOptions setMetadata(JsonObject metadata)
-
getChunkSizeBytes
public Integer getChunkSizeBytes()
-
setChunkSizeBytes
public GridFsUploadOptions setChunkSizeBytes(Integer chunkSizeBytes)
-
-