Class ObjectPutOptions
- java.lang.Object
-
- org.openstack4j.model.storage.object.options.ObjectPutOptions
-
public final class ObjectPutOptions extends Object
Options used for the creation and update of Objects- Author:
- Jeremy Unruh
-
-
Field Summary
Fields Modifier and Type Field Description static ObjectPutOptionsNONE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectPutOptionscontentType(String contentType)Specifies the MIME type/Content Type of the uploaded payloadstatic ObjectPutOptionscreate()StringgetContentType()Map<String,String>getOptions()StringgetPath()Map<String,List<Object>>getQueryParams()ObjectPutOptionsmetadata(Map<String,String> metadata)Additional metadata associated with the ObjectObjectPutOptionspath(String path)ObjectPutOptionsqueryParam(String key, Object value)
-
-
-
Field Detail
-
NONE
public static final ObjectPutOptions NONE
-
-
Method Detail
-
create
public static ObjectPutOptions create()
-
contentType
public ObjectPutOptions contentType(String contentType)
Specifies the MIME type/Content Type of the uploaded payload- Parameters:
contentType- the content type/mime type- Returns:
- ObjectPutOptions
-
path
public ObjectPutOptions path(String path)
-
metadata
public ObjectPutOptions metadata(Map<String,String> metadata)
Additional metadata associated with the Object- Parameters:
metadata- the metadata- Returns:
- ObjectPutOptions
-
getContentType
public String getContentType()
-
getPath
public String getPath()
-
queryParam
public ObjectPutOptions queryParam(String key, Object value)
-
-