org.jclouds.openstack.swift.v1.options
Class UpdateContainerOptions

java.lang.Object
  extended by org.jclouds.http.options.BaseHttpRequestOptions
      extended by 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)

Nested Class Summary
static class UpdateContainerOptions.Builder
           
 
Field Summary
static UpdateContainerOptions NONE
           
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
 
Constructor Summary
UpdateContainerOptions()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final UpdateContainerOptions NONE
Constructor Detail

UpdateContainerOptions

public UpdateContainerOptions()
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.



Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.