Interface IS3ObjectInfo
- Namespace
- Kentico.Xperience.AmazonStorage
- Assembly
- Kentico.Xperience.AmazonStorage.dll
Interface of the S3ObjectInfo object.
public interface IS3ObjectInfo
- Extension Methods
Properties
ETag
Gets or sets E-tag from the object.
string ETag { get; set; }
Property Value
- string
IsDirectory
Gets whether current object is directory.
bool IsDirectory { get; }
Property Value
- bool
IsLocked
Returns whether current object is locked.
bool IsLocked { get; }
Property Value
- bool
Key
Gets or sets object key.
string Key { get; set; }
Property Value
- string
Length
Gets or sets content length of the object.
long Length { get; set; }
Property Value
- long
Methods
DeleteMetadataFile()
Deletes metadata file.
void DeleteMetadataFile()
Exists()
Returns whether object exists.
bool Exists()
Returns
- bool
GetMetadata(string)
Returns object meta data.
string GetMetadata(string key)
Parameters
keystringMetadata key.
Returns
- string
Lock()
Locks current object.
void Lock()
SetMetadata(string, string)
Sets meta data to object.
void SetMetadata(string key, string value)
Parameters
keystringMetaData key.
valuestringMetadata value.
SetMetadata(string, string, bool)
Sets meta data to object.
void SetMetadata(string key, string value, bool update)
Parameters
keystringMetaData key.
valuestringMetadata value.
updateboolIndicates whether data are updated in S3 storage.
UnLock()
Unlocks current object.
void UnLock()