public class GetObjectSymlinkRequest extends GenericObjectRequest
All GetObjectSymlinkRequest must specify a bucket name and key.
Beyond that, requests can also specify:
| Constructor and Description |
|---|
GetObjectSymlinkRequest() |
GetObjectSymlinkRequest(String bucketName,
String key)
Constructs a new GetObjectSymlinkRequest with all the required parameters.
|
| Modifier and Type | Method and Description |
|---|---|
GetObjectSymlinkRequest |
withBucketName(String bucketName)
Sets the name of the bucket containing the symlink object.
|
GetObjectSymlinkRequest |
withKey(String key)
Sets the symlink key.
|
GetObjectSymlinkRequest |
withRequestCredentials(BceCredentials credentials) |
getKey, setKeygetBucketName, setBucketNamegetRequestCredentials, setRequestCredentialspublic GetObjectSymlinkRequest()
public GetObjectSymlinkRequest(String bucketName, String key)
bucketName - The name of the bucket containing the desired object.key - The symlink key in the specified bucket under which the object is stored.public GetObjectSymlinkRequest withKey(String key)
withKey in class GenericObjectRequestkey - The symlink keypublic GetObjectSymlinkRequest withBucketName(String bucketName)
withBucketName in class GenericBucketRequestbucketName - The name of the bucket containing the object to be downloaded.public GetObjectSymlinkRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequestCopyright © 2020. All rights reserved.