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 class
CreateContainerOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static CreateContainerOptions
NONE
-
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 CreateContainerOptions
anybodyRead()
Sets the public ACL on the container so that anybody can read it.CreateContainerOptions
headers(com.google.common.collect.Multimap<String,String> headers)
Sets the headers on a container at creation.CreateContainerOptions
metadata(Map<String,String> metadata)
Sets the metadata on a container at creation.CreateContainerOptions
versionsLocation(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.
-
-