Class CreateContainerOptions
- java.lang.Object
 - 
- org.jclouds.http.options.BaseHttpRequestOptions
 - 
- org.jclouds.openstack.swift.v1.options.CreateContainerOptions
 
 
 
- 
- All Implemented Interfaces:
 HttpRequestOptions
public class CreateContainerOptions extends BaseHttpRequestOptions
Options for creating aContainer- See Also:
 ContainerApi#create(String, CreateContainerOptions)
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateContainerOptions.Builder 
- 
Field Summary
Fields Modifier and Type Field Description static CreateContainerOptionsNONE- 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters 
 - 
 
- 
Constructor Summary
Constructors Constructor Description CreateContainerOptions() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateContainerOptionsanybodyRead()Sets the public ACL on the container so that anybody can read it.CreateContainerOptionsheaders(com.google.common.collect.Multimap<String,String> headers)Sets the headers on a container at creation.CreateContainerOptionsmetadata(Map<String,String> metadata)Sets the metadata on a container at creation.CreateContainerOptionsversionsLocation(String containerName)Sets the container that will contain object versions.- 
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 CreateContainerOptions NONE
 
 - 
 
- 
Method Detail
- 
headers
public CreateContainerOptions headers(com.google.common.collect.Multimap<String,String> headers)
Sets the headers on a container at creation. 
- 
metadata
public CreateContainerOptions metadata(Map<String,String> metadata)
Sets the metadata on a container at creation. 
- 
anybodyRead
public CreateContainerOptions anybodyRead()
Sets the public ACL on the container so that anybody can read it. 
- 
versionsLocation
public CreateContainerOptions versionsLocation(String containerName)
Sets the container that will contain object versions. 
 - 
 
 -