Package | Description |
---|---|
com.amazonaws.services.s3 |
Synchronous client for accessing Amazon S3.
|
com.amazonaws.services.s3.model |
Classes modeling the various types represented by Amazon S3.
|
Modifier and Type | Method and Description |
---|---|
void |
AmazonS3.deleteVersion(DeleteVersionRequest deleteVersionRequest)
Deletes a specific version of an object in the specified bucket.
|
void |
AmazonS3Client.deleteVersion(DeleteVersionRequest deleteVersionRequest) |
void |
AbstractAmazonS3.deleteVersion(DeleteVersionRequest deleteVersionRequest) |
Modifier and Type | Method and Description |
---|---|
DeleteVersionRequest |
DeleteVersionRequest.withBucketName(String bucketName)
Sets the name of the Amazon S3 bucket containing the version to delete.
|
DeleteVersionRequest |
DeleteVersionRequest.withBypassGovernanceRetention(boolean bypassGovernanceRetention)
Specifies whether you want to delete this object even if it has a Governance-type Object Lock in place.
|
DeleteVersionRequest |
DeleteVersionRequest.withKey(String key)
Sets the key of the version to delete
Returns this
DeleteVersionRequest , enabling additional method
calls to be chained together. |
DeleteVersionRequest |
DeleteVersionRequest.withMfa(MultiFactorAuthentication mfa)
Sets the optional Multi-Factor Authentication information to include with
this request
Returns this
DeleteVersionRequest , enabling additional method
calls to be chained together. |
DeleteVersionRequest |
DeleteVersionRequest.withVersionId(String versionId)
Sets the version ID uniquely identifying which version of the object to
delete
Returns this
DeleteVersionRequest , enabling additional method
calls to be chained together. |
Copyright © 2021. All rights reserved.