org.jclouds.openstack.swift.v1.options
Class CreateContainerOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
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)
| 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 CreateContainerOptions NONE
CreateContainerOptions
public CreateContainerOptions()
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.