| Package | Description |
|---|---|
| com.ibm.cos.v2.services.s3.model |
| Modifier and Type | Method and Description |
|---|---|
GetObjectResponse.Builder |
GetObjectResponse.Builder.acceptRanges(String acceptRanges)
Indicates that a range of bytes was specified in the request.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.bucketKeyEnabled(Boolean bucketKeyEnabled)
Indicates whether the object uses an S3 Bucket Key for server-side encryption with Key Management Service
(KMS) keys (SSE-KMS).
|
static GetObjectResponse.Builder |
GetObjectResponse.builder() |
GetObjectResponse.Builder |
GetObjectResponse.Builder.cacheControl(String cacheControl)
Specifies caching behavior along the request/reply chain.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.checksumCRC32(String checksumCRC32)
The Base64 encoded, 32-bit
CRC32 checksum of the object. |
GetObjectResponse.Builder |
GetObjectResponse.Builder.checksumCRC32C(String checksumCRC32C)
The Base64 encoded, 32-bit
CRC32C checksum of the object. |
GetObjectResponse.Builder |
GetObjectResponse.Builder.checksumCRC64NVME(String checksumCRC64NVME)
The Base64 encoded, 64-bit
CRC64NVME checksum of the object. |
GetObjectResponse.Builder |
GetObjectResponse.Builder.checksumSHA1(String checksumSHA1)
The Base64 encoded, 160-bit
SHA1 digest of the object. |
GetObjectResponse.Builder |
GetObjectResponse.Builder.checksumSHA256(String checksumSHA256)
The Base64 encoded, 256-bit
SHA256 digest of the object. |
GetObjectResponse.Builder |
GetObjectResponse.Builder.checksumType(ChecksumType checksumType)
The checksum type, which determines how part-level checksums are combined to create an object-level checksum
for multipart objects.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.checksumType(String checksumType)
The checksum type, which determines how part-level checksums are combined to create an object-level checksum
for multipart objects.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.contentDisposition(String contentDisposition)
Specifies presentational information for the object.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.contentEncoding(String contentEncoding)
Indicates 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.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.contentLanguage(String contentLanguage)
The language the content is in.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.contentLength(Long contentLength)
Size of the body in bytes.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.contentRange(String contentRange)
The portion of the object returned in the response.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.contentType(String contentType)
A standard MIME type describing the format of the object data.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.deleteMarker(Boolean deleteMarker)
Indicates whether the object retrieved was (true) or was not (false) a Delete Marker.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.eTag(String eTag)
An entity tag (ETag) is an opaque identifier assigned by a web server to a specific version of a resource
found at a URL.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.expiration(String expiration)
If the object expiration is configured (see
PutBucketLifecycleConfiguration ), the response includes this header. |
GetObjectResponse.Builder |
GetObjectResponse.Builder.expires(Instant expires)
Deprecated.
Usage of the Expires field is deprecated in favor of the more flexible and less error prone
ExpiresString
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.expiresString(String expiresString)
The date and time at which the object is no longer cacheable
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.ibmSSEKPCrk(String ibmSSEKPCrk)
Sets the CRK value
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.ibmSSEKPEnabled(Boolean ibmSSEKPEnabled)
Sets if KP is enabled
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.lastModified(Instant lastModified)
Date and time when the object was last modified.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.metadata(Map<String,String> metadata)
A map of metadata to store with the object in S3.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.missingMeta(Integer missingMeta)
This is set to the number of metadata entries not returned in the headers that are prefixed with
x-amz-meta-. |
GetObjectResponse.Builder |
GetObjectResponse.Builder.objectLockLegalHoldStatus(ObjectLockLegalHoldStatus objectLockLegalHoldStatus)
Indicates whether this object has an active legal hold.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.objectLockLegalHoldStatus(String objectLockLegalHoldStatus)
Indicates whether this object has an active legal hold.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.objectLockMode(ObjectLockMode objectLockMode)
The Object Lock mode that's currently in place for this object.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.objectLockMode(String objectLockMode)
The Object Lock mode that's currently in place for this object.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.objectLockRetainUntilDate(Instant objectLockRetainUntilDate)
The date and time when this object's Object Lock will expire.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.partsCount(Integer partsCount)
The count of parts this object has.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.replicationStatus(ReplicationStatus replicationStatus)
Amazon S3 can return this if your request involves a bucket that is either a source or destination in a
replication rule.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.replicationStatus(String replicationStatus)
Amazon S3 can return this if your request involves a bucket that is either a source or destination in a
replication rule.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.requestCharged(RequestCharged requestCharged)
Sets the value of the RequestCharged property for this object.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.requestCharged(String requestCharged)
Sets the value of the RequestCharged property for this object.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.restore(String restore)
Provides information about object restoration action and expiration time of the restored object copy.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.retentionExpirationDate(Instant retentionExpirationDate)
Date on which it will be legal to delete or modify the object.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.retentionLegalHoldCount(Integer retentionLegalHoldCount)
The number of legal holds applied to the object.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.retentionPeriod(Long retentionPeriod)
Retention period to store on the object in seconds.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.serverSideEncryption(ServerSideEncryption serverSideEncryption)
The server-side encryption algorithm used when you store this object in Amazon S3.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.serverSideEncryption(String serverSideEncryption)
The server-side encryption algorithm used when you store this object in Amazon S3.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.sseCustomerAlgorithm(String sseCustomerAlgorithm)
If server-side encryption with a customer-provided encryption key was requested, the response will include
this header to confirm the encryption algorithm that's used.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.sseCustomerKeyMD5(String sseCustomerKeyMD5)
If server-side encryption with a customer-provided encryption key was requested, the response will include
this header to provide the round-trip message integrity verification of the customer-provided encryption key.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.ssekmsKeyId(String ssekmsKeyId)
If present, indicates the ID of the KMS key that was used for object encryption.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.storageClass(StorageClass storageClass)
Provides storage class information of the object.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.storageClass(String storageClass)
Provides storage class information of the object.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.tagCount(Integer tagCount)
The number of tags, if any, on the object, when you have the relevant permission to read object tags.
|
GetObjectResponse.Builder |
GetObjectResponse.toBuilder() |
GetObjectResponse.Builder |
GetObjectResponse.Builder.versionId(String versionId)
Version ID of the object.
|
GetObjectResponse.Builder |
GetObjectResponse.Builder.websiteRedirectLocation(String 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.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends GetObjectResponse.Builder> |
GetObjectResponse.serializableBuilderClass() |
Copyright © 2026. All rights reserved.