org.jclouds.blobstore.options
Class PutOptions

java.lang.Object
  extended by org.jclouds.blobstore.options.PutOptions
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
AWSS3PutOptions, PutOptions.ImmutablePutOptions

public class PutOptions
extends Object
implements Cloneable

Contains options supported in the put blob operation.

Usage

The recommended way to instantiate a PutOptions object is to statically import PutOptions.* and invoke a static creation method followed by an instance mutator (if needed):

import static org.jclouds.blobstore.options.PutOptions.Builder.* eTag = blobStore.putBlob("container", blob, multipart());

Author:
Adrian Cole

Nested Class Summary
static class PutOptions.Builder
           
static class PutOptions.ImmutablePutOptions
           
 
Field Summary
static PutOptions.ImmutablePutOptions NONE
           
 
Constructor Summary
PutOptions()
           
PutOptions(boolean multipart)
           
 
Method Summary
 PutOptions clone()
           
 boolean isMultipart()
           
 PutOptions multipart()
          split large blobs into pieces, if supported by the provider
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final PutOptions.ImmutablePutOptions NONE
Constructor Detail

PutOptions

public PutOptions()

PutOptions

public PutOptions(boolean multipart)
Method Detail

isMultipart

public boolean isMultipart()

multipart

public PutOptions multipart()
split large blobs into pieces, if supported by the provider


clone

public PutOptions clone()
Overrides:
clone in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.