| Package | Description |
|---|---|
| com.ibm.cos.v2.services.s3.model |
| Modifier and Type | Method and Description |
|---|---|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.acceptRanges(String acceptRanges)
Indicates that a range of bytes was specified.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.archiveStatus(ArchiveStatus archiveStatus)
The archive state of the head object.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.archiveStatus(String archiveStatus)
The archive state of the head object.
|
HeadObjectResponse.Builder |
HeadObjectResponse.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 HeadObjectResponse.Builder |
HeadObjectResponse.builder() |
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.cacheControl(String cacheControl)
Specifies caching behavior along the request/reply chain.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.checksumCRC32(String checksumCRC32)
The Base64 encoded, 32-bit
CRC32 checksum of the object. |
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.checksumCRC32C(String checksumCRC32C)
The Base64 encoded, 32-bit
CRC32C checksum of the object. |
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.checksumCRC64NVME(String checksumCRC64NVME)
The Base64 encoded, 64-bit
CRC64NVME checksum of the object. |
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.checksumSHA1(String checksumSHA1)
The Base64 encoded, 160-bit
SHA1 digest of the object. |
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.checksumSHA256(String checksumSHA256)
The Base64 encoded, 256-bit
SHA256 digest of the object. |
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.checksumType(ChecksumType checksumType)
The checksum type, which determines how part-level checksums are combined to create an object-level checksum
for multipart objects.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.checksumType(String checksumType)
The checksum type, which determines how part-level checksums are combined to create an object-level checksum
for multipart objects.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.contentDisposition(String contentDisposition)
Specifies presentational information for the object.
|
HeadObjectResponse.Builder |
HeadObjectResponse.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.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.contentLanguage(String contentLanguage)
The language the content is in.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.contentLength(Long contentLength)
Size of the body in bytes.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.contentRange(String contentRange)
The portion of the object returned in the response for a
GET request. |
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.contentType(String contentType)
A standard MIME type describing the format of the object data.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.deleteMarker(Boolean deleteMarker)
Specifies whether the object retrieved was (true) or was not (false) a Delete Marker.
|
HeadObjectResponse.Builder |
HeadObjectResponse.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.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.expiration(String expiration)
If the object expiration is configured (see
PutBucketLifecycleConfiguration ), the response includes this header. |
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.expires(Instant expires)
Deprecated.
Usage of the Expires field is deprecated in favor of the more flexible and less error prone
ExpiresString
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.expiresString(String expiresString)
The date and time at which the object is no longer cacheable
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.ibmRestoredCopyStorageClass(String ibmRestoredCopyStorageClass) |
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.ibmTransition(String ibmTransitionId) |
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.lastModified(Instant lastModified)
Date and time when the object was last modified.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.metadata(Map<String,String> metadata)
A map of metadata to store with the object in S3.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.missingMeta(Integer missingMeta)
This is set to the number of metadata entries not returned in
x-amz-meta headers. |
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.objectLockLegalHoldStatus(ObjectLockLegalHoldStatus objectLockLegalHoldStatus)
Specifies whether a legal hold is in effect for this object.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.objectLockLegalHoldStatus(String objectLockLegalHoldStatus)
Specifies whether a legal hold is in effect for this object.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.objectLockMode(ObjectLockMode objectLockMode)
The Object Lock mode, if any, that's in effect for this object.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.objectLockMode(String objectLockMode)
The Object Lock mode, if any, that's in effect for this object.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.objectLockRetainUntilDate(Instant objectLockRetainUntilDate)
The date and time when the Object Lock retention period expires.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.partsCount(Integer partsCount)
The count of parts this object has.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.replicationStatus(ReplicationStatus replicationStatus)
Amazon S3 can return this header if your request involves a bucket that is either a source or a destination
in a replication rule.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.replicationStatus(String replicationStatus)
Amazon S3 can return this header if your request involves a bucket that is either a source or a destination
in a replication rule.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.requestCharged(RequestCharged requestCharged)
Sets the value of the RequestCharged property for this object.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.requestCharged(String requestCharged)
Sets the value of the RequestCharged property for this object.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.restore(String restore)
If the object is an archived object (an object whose storage class is GLACIER), the response includes this
header if either the archive restoration is in progress (see RestoreObject or an archive
copy is already restored.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.retentionExpirationDate(Instant retentionExpirationDate)
Date on which it will be legal to delete or modify the object.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.retentionLegalHoldCount(Integer retentionLegalHoldCount)
The number of legal holds applied to the object.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.retentionPeriod(Long retentionPeriod)
Retention period to store on the object in seconds.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.serverSideEncryption(ServerSideEncryption serverSideEncryption)
The server-side encryption algorithm used when you store this object in Amazon S3 (for example,
AES256, aws:kms, aws:kms:dsse). |
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.serverSideEncryption(String serverSideEncryption)
The server-side encryption algorithm used when you store this object in Amazon S3 (for example,
AES256, aws:kms, aws:kms:dsse). |
HeadObjectResponse.Builder |
HeadObjectResponse.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.
|
HeadObjectResponse.Builder |
HeadObjectResponse.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.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.ssekmsKeyId(String ssekmsKeyId)
If present, indicates the ID of the KMS key that was used for object encryption.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.storageClass(StorageClass storageClass)
Provides storage class information of the object.
|
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.storageClass(String storageClass)
Provides storage class information of the object.
|
HeadObjectResponse.Builder |
HeadObjectResponse.toBuilder() |
HeadObjectResponse.Builder |
HeadObjectResponse.Builder.versionId(String versionId)
Version ID of the object.
|
HeadObjectResponse.Builder |
HeadObjectResponse.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 HeadObjectResponse.Builder> |
HeadObjectResponse.serializableBuilderClass() |
Copyright © 2026. All rights reserved.