Class 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());

  • Field Details

  • Constructor Details

    • PutOptions

      public PutOptions()
  • Method Details

    • publicRead

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

      public PutOptions publicNone()
    • overwrite

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