Package org.jclouds.glacier.domain
Class MultipartUploadMetadata
java.lang.Object
com.google.common.collect.FluentIterable<PartMetadata>
org.jclouds.collect.IterableWithMarker<PartMetadata>
org.jclouds.glacier.domain.MultipartUploadMetadata
- All Implemented Interfaces:
Comparable<MultipartUploadMetadata>,Iterable<PartMetadata>
public class MultipartUploadMetadata
extends IterableWithMarker<PartMetadata>
implements Comparable<MultipartUploadMetadata>
Defines the attributes needed for Multipart uploads. Extends IterableWithMarker to support requesting paginated
multipart upload parts.
-
Constructor Summary
ConstructorsConstructorDescriptionMultipartUploadMetadata(String archiveDescription, Date creationDate, String multipartUploadId, long partSizeInBytes, String vaultARN, Iterable<PartMetadata> parts, String marker) -
Method Summary
Methods inherited from class com.google.common.collect.FluentIterable
allMatch, anyMatch, append, append, concat, concat, concat, concat, concat, contains, copyInto, cycle, filter, filter, first, firstMatch, from, from, from, get, index, isEmpty, join, last, limit, of, of, size, skip, stream, toArray, toList, toMap, toMultiset, toSet, toSortedList, toSortedSet, transform, transformAndConcat, uniqueIndexMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
MultipartUploadMetadata
@ConstructorProperties({"ArchiveDescription","CreationDate","MultipartUploadId","PartSizeInBytes","VaultARN","Parts","Marker"}) public MultipartUploadMetadata(@Nullable String archiveDescription, Date creationDate, String multipartUploadId, long partSizeInBytes, String vaultARN, @Nullable Iterable<PartMetadata> parts, @Nullable String marker)
-
-
Method Details
-
getArchiveDescription
-
getCreationDate
-
getMultipartUploadId
-
getPartSizeInBytes
public long getPartSizeInBytes() -
getPartSizeInMB
public long getPartSizeInMB() -
getVaultARN
-
iterator
- Specified by:
iteratorin interfaceIterable<PartMetadata>
-
nextMarker
Description copied from class:IterableWithMarkerIf there is a next marker, then the set is incomplete and you should issue another command to retrieve the rest, setting the optionmarkerto this value- Specified by:
nextMarkerin classIterableWithMarker<PartMetadata>- Returns:
- next marker, or absent if list is complete
-
nextPaginationOptions
-
hashCode
public int hashCode() -
equals
-
toString
- Overrides:
toStringin classcom.google.common.collect.FluentIterable<PartMetadata>
-
compareTo
- Specified by:
compareToin interfaceComparable<MultipartUploadMetadata>
-