org.jclouds.aws.s3.domain
Class DeleteResult

java.lang.Object
  extended by com.google.common.collect.ForwardingObject
      extended by com.google.common.collect.ForwardingCollection<E>
          extended by com.google.common.collect.ForwardingSet<String>
              extended by org.jclouds.aws.s3.domain.DeleteResult
All Implemented Interfaces:
Iterable<String>, Collection<String>, Set<String>

public class DeleteResult
extends com.google.common.collect.ForwardingSet<String>

Multi-object delete API response

Contains a list of the keys that were deleted

See Also:

Nested Class Summary
static class DeleteResult.Builder
           
static class DeleteResult.Error
           
 
Constructor Summary
DeleteResult(Set<String> deleted, Map<String,DeleteResult.Error> errors)
           
 
Method Summary
static DeleteResult.Builder builder()
           
protected  Set<String> delegate()
           
 boolean equals(Object o)
           
 Set<String> getDeleted()
          Get the set of successfully deleted keys
 Map<String,DeleteResult.Error> getErrors()
          Get a map with details about failed delete operations indexed by object name
 int hashCode()
           
 DeleteResult.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class com.google.common.collect.ForwardingSet
standardEquals, standardHashCode, standardRemoveAll
 
Methods inherited from class com.google.common.collect.ForwardingCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArray
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

DeleteResult

public DeleteResult(Set<String> deleted,
                    Map<String,DeleteResult.Error> errors)
Method Detail

builder

public static DeleteResult.Builder builder()

toBuilder

public DeleteResult.Builder toBuilder()

getDeleted

public Set<String> getDeleted()
Get the set of successfully deleted keys


getErrors

public Map<String,DeleteResult.Error> getErrors()
Get a map with details about failed delete operations indexed by object name


delegate

protected Set<String> delegate()
Overrides:
delegate in class com.google.common.collect.ForwardingSet<String>

equals

public boolean equals(Object o)
Specified by:
equals in interface Collection<String>
Specified by:
equals in interface Set<String>
Overrides:
equals in class com.google.common.collect.ForwardingSet<String>

hashCode

public int hashCode()
Specified by:
hashCode in interface Collection<String>
Specified by:
hashCode in interface Set<String>
Overrides:
hashCode in class com.google.common.collect.ForwardingSet<String>

toString

public String toString()
Overrides:
toString in class com.google.common.collect.ForwardingObject


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.