org.jclouds.openstack.swift.v1.options
Class UpdateContainerOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.openstack.swift.v1.options.UpdateContainerOptions
- All Implemented Interfaces:
- org.jclouds.http.options.HttpRequestOptions
public class UpdateContainerOptions
- extends org.jclouds.http.options.BaseHttpRequestOptions
Options for updating a Container.
- See Also:
ContainerApi.update(String, UpdateContainerOptions)
| Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions |
formParameters, headers, pathSuffix, payload, queryParameters |
| Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions |
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString |
NONE
public static final UpdateContainerOptions NONE
UpdateContainerOptions
public UpdateContainerOptions()
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.
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.