org.jclouds.atmos.options
Class PutOptions

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

Nested Class Summary
static class PutOptions.Builder
           
 
Field Summary
static PutOptions NONE
           
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
PutOptions()
           
 
Method Summary
 PutOptions publicRead()
          Add public access to all users
 
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, 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 PutOptions NONE
Constructor Detail

PutOptions

public PutOptions()
Method Detail

publicRead

public PutOptions publicRead()
Add public access to all users



Copyright © 2009-2011 jclouds. All Rights Reserved.