Class PutOptions
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.openstack.swift.v1.options.PutOptions
-
- All Implemented Interfaces:
HttpRequestOptions
public class PutOptions extends BaseHttpRequestOptions
Options for creating an Object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PutOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static PutOptions
NONE
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description PutOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PutOptions
headers(com.google.common.collect.Multimap<String,String> headers)
Sets the headers on a container at creation.PutOptions
metadata(Map<String,String> metadata)
Sets the metadata on a container at creation.-
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
-
-
-
-
Field Detail
-
NONE
public static final PutOptions NONE
-
-
Method Detail
-
metadata
public PutOptions metadata(Map<String,String> metadata)
Sets the metadata on a container at creation.
-
headers
public PutOptions headers(com.google.common.collect.Multimap<String,String> headers)
Sets the headers on a container at creation.
-
-