org.jclouds.hpcloud.objectstorage.lvs.options
Class CreateContainerOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.hpcloud.objectstorage.lvs.options.CreateContainerOptions
- All Implemented Interfaces:
- HttpRequestOptions
public class CreateContainerOptions
- extends BaseHttpRequestOptions
Contains options supported in the REST API for the Create Container operation.
This specifically enabes the Swift ACL for public reads using the 'X-Container-Read'
header. This should be refactored into the Swift API.
- Author:
- Jeremy Daggett
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString |
NONE
public static final CreateContainerOptions NONE
CreateContainerOptions
public CreateContainerOptions()
withMetadata
public CreateContainerOptions withMetadata(Map<String,String> metadata)
- A name-value pair to associate with the container as metadata.
withPublicAccess
public CreateContainerOptions withPublicAccess()
- Indicates whether a container may be accessed publicly
Copyright © 2009-2012 jclouds. All Rights Reserved.