Interface ObjectIdentifier.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ObjectIdentifier.Builder,ObjectIdentifier>
,SdkBuilder<ObjectIdentifier.Builder,ObjectIdentifier>
,SdkPojo
- Enclosing class:
- ObjectIdentifier
public static interface ObjectIdentifier.Builder extends SdkPojo, CopyableBuilder<ObjectIdentifier.Builder,ObjectIdentifier>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectIdentifier.Builder
eTag(String eTag)
An entity tag (ETag) is an identifier assigned by a web server to a specific version of a resource found at a URL.ObjectIdentifier.Builder
key(String key)
Key name of the object.ObjectIdentifier.Builder
lastModifiedTime(Instant lastModifiedTime)
If present, the objects are deleted only if its modification times matches the providedTimestamp
.ObjectIdentifier.Builder
size(Long size)
If present, the objects are deleted only if its size matches the provided size in bytes.ObjectIdentifier.Builder
versionId(String versionId)
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 Detail
-
key
ObjectIdentifier.Builder key(String 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
ObjectIdentifier.Builder versionId(String 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
ObjectIdentifier.Builder eTag(String 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
ObjectIdentifier.Builder lastModifiedTime(Instant 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
ObjectIdentifier.Builder size(Long 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.
-
-