Table of Contents

Class S3Object

Namespace
Amazon.S3.Model
Assembly
AWSSDK.S3.dll

Represents an S3 Object. Contains all attributes that an S3 Object has. For more information about S3 Objects refer: http://docs.amazonwebservices.com/AmazonS3/latest/UsingObjects.html

public class S3Object
Inheritance
S3Object
Derived
Inherited Members

Constructors

S3Object()

public S3Object()

Properties

BucketName

The name of the bucket containing this object.

public string BucketName { get; set; }

Property Value

string

ChecksumAlgorithm

Gets and sets the property ChecksumAlgorithm.

The algorithm that was used to create a checksum of the object.

public List<string> ChecksumAlgorithm { get; set; }

Property Value

List<string>

ETag

Gets and sets the property ETag.

The entity tag is a hash of the object. The ETag reflects changes only to the contents of an object, not its metadata. The ETag may or may not be an MD5 digest of the object data. Whether or not it is depends on how the object was created and how it is encrypted as described below:

  • Objects created by the PUT Object, POST Object, or Copy operation, or through the Amazon Web Services Management Console, and are encrypted by SSE-S3 or plaintext, have ETags that are an MD5 digest of their object data.

  • Objects created by the PUT Object, POST Object, or Copy operation, or through the Amazon Web Services Management Console, and are encrypted by SSE-C or SSE-KMS, have ETags that are not an MD5 digest of their object data.

  • If an object is created by either the Multipart Upload or Part Copy operation, the ETag is not an MD5 digest, regardless of the method of encryption. If an object is larger than 16 MB, the Amazon Web Services Management Console will upload or copy that object as a Multipart Upload, and therefore the ETag will not be an MD5 digest.

public string ETag { get; set; }

Property Value

string

Key

The key of the object.

public string Key { get; set; }

Property Value

string

LastModified

The date and time the object was last modified. The date retrieved from S3 is in ISO8601 format. A GMT formatted date is passed back to the user.

public DateTime LastModified { get; set; }

Property Value

DateTime

Owner

The owner of the object.

public Owner Owner { get; set; }

Property Value

Owner

Size

The size of the object.

public long Size { get; set; }

Property Value

long

StorageClass

The class of storage used to store the object.

public S3StorageClass StorageClass { get; set; }

Property Value

S3StorageClass