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

java.lang.Object
  extended by org.jclouds.http.options.BaseHttpRequestOptions
      extended by org.jclouds.openstack.swift.v1.options.CreateContainerOptions
All Implemented Interfaces:
org.jclouds.http.options.HttpRequestOptions

public class CreateContainerOptions
extends org.jclouds.http.options.BaseHttpRequestOptions

Options for creating a Container

See Also:
ContainerApi#create(String, CreateContainerOptions)

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

Field Detail

NONE

public static final CreateContainerOptions NONE
Constructor Detail

CreateContainerOptions

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



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