Interface ObjectIdentifier.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ObjectIdentifier.Builder,
,ObjectIdentifier> SdkBuilder<ObjectIdentifier.Builder,
,ObjectIdentifier> SdkPojo
- Enclosing class:
ObjectIdentifier
-
Method Summary
Modifier and TypeMethodDescriptionAn entity tag (ETag) is an identifier assigned by a web server to a specific version of a resource found at a URL.Key name of the object.lastModifiedTime
(Instant lastModifiedTime) If present, the objects are deleted only if its modification times matches the providedTimestamp
.If present, the objects are deleted only if its size matches the provided size in bytes.Version ID for the specific version of the object to delete.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
key
Key name of the object.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
- Parameters:
key
- Key name of the object.Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionId
Version ID for the specific version of the object to delete.
This functionality is not supported for directory buckets.
- Parameters:
versionId
- Version ID for the specific version of the object to delete.This functionality is not supported for directory buckets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eTag
An entity tag (ETag) is an identifier assigned by a web server to a specific version of a resource found at a URL. This header field makes the request method conditional on
ETags
.Entity tags (ETags) for S3 Express One Zone are random alphanumeric strings unique to the object.
- Parameters:
eTag
- An entity tag (ETag) is an identifier assigned by a web server to a specific version of a resource found at a URL. This header field makes the request method conditional onETags
.Entity tags (ETags) for S3 Express One Zone are random alphanumeric strings unique to the object.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
If present, the objects are deleted only if its modification times matches the provided
Timestamp
.This functionality is only supported for directory buckets.
- Parameters:
lastModifiedTime
- If present, the objects are deleted only if its modification times matches the providedTimestamp
.This functionality is only supported for directory buckets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
size
If present, the objects are deleted only if its size matches the provided size in bytes.
This functionality is only supported for directory buckets.
- Parameters:
size
- If present, the objects are deleted only if its size matches the provided size in bytes.This functionality is only supported for directory buckets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-