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