Struct aws_sdk_s3::output::get_object_output::Builder[][src]

#[non_exhaustive]
pub struct Builder { /* fields omitted */ }
Expand description

A builder for GetObjectOutput

Implementations

Object data.

Object data.

Specifies whether the object retrieved was (true) or was not (false) a Delete Marker. If false, this response header does not appear in the response.

Specifies whether the object retrieved was (true) or was not (false) a Delete Marker. If false, this response header does not appear in the response.

Indicates that a range of bytes was specified.

Indicates that a range of bytes was specified.

If the object expiration is configured (see PUT Bucket lifecycle), the response 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.

If the object expiration is configured (see PUT Bucket lifecycle), the response 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.

Provides information about object restoration action and expiration time of the restored object copy.

Provides information about object restoration action and expiration time of the restored object copy.

Creation date of the object.

Creation date of the object.

Size of the body in bytes.

Size of the body in bytes.

An ETag is an opaque identifier assigned by a web server to a specific version of a resource found at a URL.

An ETag is an opaque identifier assigned by a web server to a specific version of a resource found at a URL.

This is set to the number of metadata entries not returned in x-amz-meta headers. This can happen if you create metadata using an API like SOAP that supports more flexible metadata than the REST API. For example, using SOAP, you can create metadata whose values are not legal HTTP headers.

This is set to the number of metadata entries not returned in x-amz-meta headers. This can happen if you create metadata using an API like SOAP that supports more flexible metadata than the REST API. For example, using SOAP, you can create metadata whose values are not legal HTTP headers.

Version of the object.

Version of the object.

Specifies caching behavior along the request/reply chain.

Specifies caching behavior along the request/reply chain.

Specifies presentational information for the object.

Specifies presentational information for the object.

Specifies 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.

Specifies 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.

The language the content is in.

The language the content is in.

The portion of the object returned in the response.

The portion of the object returned in the response.

A standard MIME type describing the format of the object data.

A standard MIME type describing the format of the object data.

The date and time at which the object is no longer cacheable.

The date and time at which the object is no longer cacheable.

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.

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.

The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256, aws:kms).

The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256, aws:kms).

Adds a key-value pair to metadata.

To override the contents of this collection use set_metadata.

A map of metadata to store with the object in S3.

A map of metadata to store with the object in S3.

If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.

If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.

If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round-trip message integrity verification of the customer-provided encryption key.

If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round-trip message integrity verification of the customer-provided encryption key.

If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric customer managed key that was used for the object.

If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric customer managed key that was used for the object.

Indicates whether the object uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).

Indicates whether the object uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).

Provides storage class information of the object. Amazon S3 returns this header for all objects except for S3 Standard storage class objects.

Provides storage class information of the object. Amazon S3 returns this header for all objects except for S3 Standard storage class objects.

If present, indicates that the requester was successfully charged for the request.

If present, indicates that the requester was successfully charged for the request.

Amazon S3 can return this if your request involves a bucket that is either a source or destination in a replication rule.

Amazon S3 can return this if your request involves a bucket that is either a source or destination in a replication rule.

The count of parts this object has.

The count of parts this object has.

The number of tags, if any, on the object.

The number of tags, if any, on the object.

The Object Lock mode currently in place for this object.

The Object Lock mode currently in place for this object.

The date and time when this object's Object Lock will expire.

The date and time when this object's Object Lock will expire.

Indicates 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.

Indicates 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.

Consumes the builder and constructs a GetObjectOutput

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more