GetBucketObjectResult class
Result data returned by getBucketObject.
Constructors
-
GetBucketObjectResult({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.
arnARN of the object.bodyObject data (see limitations above to understand cases in which this field is actually available)bucketOptional.bucketKeyEnabledWhether or not to use Amazon S3 Bucket Keys for SSE-KMS.cacheControlCaching behavior along the request/reply chain.contentDispositionPresentational information for the object.contentEncodingWhat 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.contentLanguageLanguage the content is in.contentLengthSize of the body in bytes.contentTypeStandard 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)expirationIf 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.expiresDate and time at which the object is no longer cacheable.idThe provider-assigned unique ID for this managed resource.keyOptional.lastModifiedLast modified date of the object in RFC1123 format (e.g.,Mon, 02 Jan 2006 15:04:05 MST)metadataMap of metadata stored with the object in S3. Keys are always returned in lowercase.objectLockLegalHoldStatusWhether this object has an active legal hold. This field is only returned if you have permission to view an object's legal hold status.objectLockModeObject lock retention mode currently in place for this object.objectLockRetainUntilDateDate and time when this object's object lock will expire.rangeOptional.regionOptional.serverSideEncryptionIf the object is stored using server-side encryption (KMS or Amazon S3-managed encryption key), this field includes the chosen encryption and algorithm used.sseKmsKeyIdIf 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 forStandardstorage class objects.tagsMap of tags assigned to the object.versionIdLatest version ID of the object returned.websiteRedirectLocationIf 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.const -
GetBucketObjectResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- arn → String?
-
ARN of the object.
final
- body → String?
-
Object data (see limitations above to understand cases in which this field is actually available)
final
- bucket → String?
-
final
- bucketKeyEnabled → bool?
-
Whether or not to use Amazon S3 Bucket Keys for SSE-KMS.
final
- cacheControl → String?
-
Caching behavior along the request/reply chain.
final
- contentDisposition → String?
-
Presentational information for the object.
final
- contentEncoding → String?
-
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.
final
- contentLanguage → String?
-
Language the content is in.
final
- contentLength → int?
-
Size of the body in bytes.
final
- contentType → String?
-
Standard MIME type describing the format of the object data.
final
- etag → String?
-
ETag generated for the object (an MD5 sum of the object content in case it's not encrypted)
final
- expiration → String?
-
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.
final
- expires → String?
-
Date and time at which the object is no longer cacheable.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
The provider-assigned unique ID for this managed resource.
final
- key → String?
-
final
- lastModified → String?
-
Last modified date of the object in RFC1123 format (e.g.,
Mon, 02 Jan 2006 15:04:05 MST)final -
metadata
→ Map<
String, String> ? -
Map of metadata stored with the object in S3. Keys are always returned in lowercase.
final
- objectLockLegalHoldStatus → String?
-
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.
final
- objectLockMode → String?
-
Object lock retention mode currently in place for this object.
final
- objectLockRetainUntilDate → String?
-
Date and time when this object's object lock will expire.
final
- range → String?
-
final
- region → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serverSideEncryption → String?
-
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.
final
- sseKmsKeyId → String?
-
If present, specifies the ID of the KMS master encryption key that was used for the object.
final
- storageClass → String?
-
Storage class information of the object. Available for all objects except for
Standardstorage class objects.final -
Map of tags assigned to the object.
final
- versionId → String?
-
Latest version ID of the object returned.
final
- websiteRedirectLocation → String?
-
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.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited