Class PutOptions

  • All Implemented Interfaces:
    org.jclouds.http.options.HttpRequestOptions

    public class PutOptions
    extends org.jclouds.http.options.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());

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  PutOptions.Builder  
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static PutOptions NONE  
      • Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions

        formParameters, headers, pathSuffix, payload, queryParameters
    • Constructor Summary

      Constructors 
      Constructor Description
      PutOptions()  
    • Constructor Detail

      • PutOptions

        public PutOptions()
    • Method Detail

      • publicRead

        public PutOptions publicRead()
        Add public access to all users
      • overwrite

        public PutOptions overwrite()
        By default Atmos does not allow overwriting objects. Note: older versions of Atmos do not support this header.