Package | Description |
---|---|
com.ibm.cloud.objectstorage.services.s3 |
Synchronous client for accessing Amazon S3.
|
com.ibm.cloud.objectstorage.services.s3.model |
Classes modeling the various types represented by Amazon S3.
|
Modifier and Type | Method and Description |
---|---|
void |
AmazonS3Client.addLegalHold(AddLegalHoldRequest addLegalHoldRequest) |
void |
AmazonS3.addLegalHold(AddLegalHoldRequest addLegalHoldRequest)
Adds a legal hold to the specified object in the specified bucket.
|
Modifier and Type | Method and Description |
---|---|
AddLegalHoldRequest |
AddLegalHoldRequest.withBucketName(String bucketName)
Sets the name of the bucket containing the reference to the object to
add a legal hold to, and returns a reference to this
object(AddLegalHoldRequest) for method chaining.
|
AddLegalHoldRequest |
AddLegalHoldRequest.withKey(String key)
Sets the key, the name of the reference to the object to add a legal hold to.
|
AddLegalHoldRequest |
AddLegalHoldRequest.withLegalHoldId(String legalHoldId)
Sets the legal hold id to be added and returns a reference to
this object for method chaining.
|
Copyright © 2024. All rights reserved.