GetBucketObjectResult constructor
- String? arn,
- String? body,
- String? bucket,
- bool? bucketKeyEnabled,
- String? cacheControl,
- String? contentDisposition,
- String? contentEncoding,
- String? contentLanguage,
- int? contentLength,
- String? contentType,
- String? etag,
- String? expiration,
- String? expires,
- String? id,
- String? key,
- String? lastModified,
- Map<
String, String> ? metadata, - String? objectLockLegalHoldStatus,
- String? objectLockMode,
- String? objectLockRetainUntilDate,
- String? range,
- String? region,
- String? serverSideEncryption,
- String? sseKmsKeyId,
- String? storageClass,
- Map<
String, String> ? tags, - String? versionId,
- String? websiteRedirectLocation,
Creates a new GetBucketObjectResult.
arn ARN of the object.
body Object data (see limitations above to understand cases in which this field is actually available)
bucket Optional.
bucketKeyEnabled Whether or not to use Amazon S3 Bucket Keys for SSE-KMS.
cacheControl Caching behavior along the request/reply chain.
contentDisposition Presentational information for the object.
contentEncoding What content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.
contentLanguage Language the content is in.
contentLength Size of the body in bytes.
contentType Standard MIME type describing the format of the object data.
etag ETag generated for the object (an MD5 sum of the object content in case it's not encrypted)
expiration If the object expiration is configured (see object lifecycle management), the field includes this header. It includes the expiry-date and rule-id key value pairs providing object expiration information. The value of the rule-id is URL encoded.
expires Date and time at which the object is no longer cacheable.
id The provider-assigned unique ID for this managed resource.
key Optional.
lastModified Last modified date of the object in RFC1123 format (e.g., Mon, 02 Jan 2006 15:04:05 MST)
metadata Map of metadata stored with the object in S3. Keys are always returned in lowercase.
objectLockLegalHoldStatus Whether this object has an active legal hold. This field is only returned if you have permission to view an object's legal hold status.
objectLockMode Object lock retention mode currently in place for this object.
objectLockRetainUntilDate Date and time when this object's object lock will expire.
range Optional.
region Optional.
serverSideEncryption If the object is stored using server-side encryption (KMS or Amazon S3-managed encryption key), this field includes the chosen encryption and algorithm used.
sseKmsKeyId If present, specifies the ID of the KMS master encryption key that was used for the object.
storageClass Storage class information of the object. Available for all objects except for Standard storage class objects.
tags Map of tags assigned to the object.
versionId Latest version ID of the object returned.
websiteRedirectLocation If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata.
Implementation
const GetBucketObjectResult({
this.arn,
this.body,
this.bucket,
this.bucketKeyEnabled,
this.cacheControl,
this.contentDisposition,
this.contentEncoding,
this.contentLanguage,
this.contentLength,
this.contentType,
this.etag,
this.expiration,
this.expires,
this.id,
this.key,
this.lastModified,
this.metadata,
this.objectLockLegalHoldStatus,
this.objectLockMode,
this.objectLockRetainUntilDate,
this.range,
this.region,
this.serverSideEncryption,
this.sseKmsKeyId,
this.storageClass,
this.tags,
this.versionId,
this.websiteRedirectLocation,
});