GetObjectResult constructor

const GetObjectResult({
  1. String? arn,
  2. String? body,
  3. String? bodyBase64,
  4. String? bucket,
  5. bool? bucketKeyEnabled,
  6. String? cacheControl,
  7. String? checksumCrc32,
  8. String? checksumCrc32c,
  9. String? checksumCrc64nvme,
  10. String? checksumMode,
  11. String? checksumSha1,
  12. String? checksumSha256,
  13. String? contentDisposition,
  14. String? contentEncoding,
  15. String? contentLanguage,
  16. int? contentLength,
  17. String? contentType,
  18. String? downloadBody,
  19. String? etag,
  20. String? expiration,
  21. String? expires,
  22. String? id,
  23. String? key,
  24. String? lastModified,
  25. Map<String, String>? metadata,
  26. String? objectLockLegalHoldStatus,
  27. String? objectLockMode,
  28. String? objectLockRetainUntilDate,
  29. String? range,
  30. String? region,
  31. String? serverSideEncryption,
  32. String? sseKmsKeyId,
  33. String? storageClass,
  34. Map<String, String>? tags,
  35. String? versionId,
  36. String? websiteRedirectLocation,
})

Creates a new GetObjectResult. arn ARN of the object. body Object data (see limitations above to understand cases in which this field is actually available). If downloadBody is set to false, body is not available. bodyBase64 Object data as base64 encoded string. This is only available if downloadBody is set to true. bucket Optional. bucketKeyEnabled Whether or not to use Amazon S3 Bucket Keys for SSE-KMS. cacheControl Caching behavior along the request/reply chain. checksumCrc32 Base64-encoded, 32-bit CRC32 checksum of the object. checksumCrc32c Base64-encoded, 32-bit CRC32C checksum of the object. checksumCrc64nvme Base64-encoded, 64-bit CRC64NVME checksum of the object. checksumMode Optional. checksumSha1 Base64-encoded, 160-bit SHA-1 digest of the object. checksumSha256 Base64-encoded, 256-bit SHA-256 digest of the object. 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. downloadBody Optional. 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 GetObjectResult({
  this.arn,
  this.body,
  this.bodyBase64,
  this.bucket,
  this.bucketKeyEnabled,
  this.cacheControl,
  this.checksumCrc32,
  this.checksumCrc32c,
  this.checksumCrc64nvme,
  this.checksumMode,
  this.checksumSha1,
  this.checksumSha256,
  this.contentDisposition,
  this.contentEncoding,
  this.contentLanguage,
  this.contentLength,
  this.contentType,
  this.downloadBody,
  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,
});