IPWorks Cloud 2020 Java Edition

Questions / Feedback?

ObjectList Event

Fires once for each object, object version, or multipart upload returned when listing such items.

Syntax

public class DefaultAmazons3EventListener implements Amazons3EventListener {
  ...
  public void objectList(Amazons3ObjectListEvent e) {}
  ...
}

public class Amazons3ObjectListEvent {
  public String objectName;
  public String lastModified;
  public long size;
  public String ETag;
  public String ownerId;
  public String ownerName;
  public String uploadId;
  public String versionId;
  public boolean latestVersion;
  public boolean deleted;
}

Remarks

This event fires once for each object, object version, or multipart upload returned when GetObjectInfo, ListObjects, ListVersions, or ListMultipartUploads is called.

ObjectName reflects the name of the object.

LastModified reflects the last modified time of the object. Not applicable when ListMultipartUploads is called.

Size reflects the size, in bytes, of the object. Not applicable when ListMultipartUploads is called.

ETag reflects the object's ETag. Not applicable when ListMultipartUploads is called.

OwnerId and OwnerName reflect the Id and display name of the object's owner, respectively. Not applicable when GetObjectInfo is called.

UploadId reflects the Id of the multipart upload. Only applicable when ListMultipartUploads is called.

VersionId reflects the Id of the object version (note that the string null is a valid version Id). Only applicable when ListVersions is called, or when GetObjectInfo is called while VersionId is non-empty; empty in all other cases.

LatestVersion indicates whether this is the latest object version. Only applicable when ListVersions is called; true in all other cases.

Deleted indicates whether this object version is a delete marker (refer to DeleteObject for more information). Only applicable when ListVersions is called, or when GetObjectInfo is called while VersionId is non-empty; false in all other cases.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Java Edition - Version 20.0 [Build 8265]