org.jclouds.atmos.options
Class PutOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.atmos.options.PutOptions
- All Implemented Interfaces:
- HttpRequestOptions
public class PutOptions
- extends BaseHttpRequestOptions
Contains options supported in the REST API for the PUT operations.
Usage
The recommended way to instantiate a PutOptions object is to statically import
PutOptions.Builder.* and invoke a static creation method followed by an instance mutator (if
needed):
import org.jclouds.atmos.options.PutOptions.Builder.*
import org.jclouds.atmos.AtmosClient;
AtmosClient connection = // get connection
connection.createDirectory("directory", publicRead());
- Author:
- Adrian Cole
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 PutOptions NONE
PutOptions
public PutOptions()
publicRead
public PutOptions publicRead()
- Add public access to all users
Copyright © 2009-2011 jclouds. All Rights Reserved.