A class in Alta.IO, Alta.Utilities.
Base for an S3 file or folder: a bucket name and object key, with delete calls through S3Utility.S3Client.
Constructors
| Member | What it is |
|---|
S3StorageObject(string bucketName, string fullName) | Creates a S3StorageObject from bucketName and fullName. |
Fields
| Member | What it is |
|---|
protected const string ObjectContentType | Constant null content type. |
Properties
| Member | What it is |
|---|
string BucketName { get; } | The S3 bucket. |
string FullName { get; } | The object key, with any trailing slash removed. |
string Name { get; } | The last part of the key. |
Methods
| Member | What it is |
|---|
virtual void Delete() | Deletes the object with this key from the bucket. |
virtual Task DeleteAsync() | Async version of Delete. |