ObjectConditions class

Conditions that determine which objects are transferred.

Applies only to Cloud Data Sources such as S3, Azure, and Cloud Storage. The "last modification time" refers to the time of the last change to the object's content or metadata — specifically, this is the updated property of Cloud Storage objects, the LastModified field of S3 objects, and the Last-Modified header of Azure blobs. Transfers with a PosixFilesystem source or destination don't support ObjectConditions.

Constructors

ObjectConditions({List<String>? excludePrefixes, List<String>? includePrefixes, String? lastModifiedBefore, String? lastModifiedSince, String? maxTimeElapsedSinceLastModification, String? minTimeElapsedSinceLastModification})
ObjectConditions.fromJson(Map json_)

Properties

excludePrefixes List<String>?
If you specify exclude_prefixes, Storage Transfer Service uses the items in the exclude_prefixes array to determine which objects to exclude from a transfer.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
includePrefixes List<String>?
If you specify include_prefixes, Storage Transfer Service uses the items in the include_prefixes array to determine which objects to include in a transfer.
getter/setter pair
lastModifiedBefore String?
If specified, only objects with a "last modification time" before this timestamp and objects that don't have a "last modification time" are transferred.
getter/setter pair
lastModifiedSince String?
If specified, only objects with a "last modification time" on or after this timestamp and objects that don't have a "last modification time" are transferred.
getter/setter pair
maxTimeElapsedSinceLastModification String?
Ensures that objects are not transferred if a specific maximum time has elapsed since the "last modification time".
getter/setter pair
minTimeElapsedSinceLastModification String?
Ensures that objects are not transferred until a specific minimum time has elapsed after the "last modification time".
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited