|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.baidubce.model.AbstractBceRequest
com.baidubce.services.bos.model.GenericBucketRequest
com.baidubce.services.bos.model.GenericObjectRequest
com.baidubce.services.bos.model.GetObjectRequest
com.baidubce.services.bos.model.SetObjectSymlinkRequest
public class SetObjectSymlinkRequest
Request object containing all the options for setting a object symlink.
| Constructor Summary | |
|---|---|
SetObjectSymlinkRequest(String bucketName,
String key,
String symlinkTarget)
|
|
| Method Summary | |
|---|---|
String |
getStorageClass()
Gets the symlink storageClass |
String |
getSymlinkTarget()
Gets the symlink of target object |
Map<String,String> |
getUserMetadata()
Gets the user-meta of symlink |
boolean |
isForbidOverwrite()
Gets the flag of forbid overwrite |
void |
setForbidOverwrite(boolean forbidOverwrite)
Set the flag of forbid overwrite |
void |
setStorageClass(String storageClass)
Sets the symlink storageClass |
void |
setSymlinkTarget(String symlinkTarget)
Sets the symlink of target object |
void |
setUserMetadata(Map<String,String> userMetadata)
Sets the user-meta of symlink |
SetObjectSymlinkRequest |
withBucketName(String bucketName)
Sets the name of the bucket containing the object to be downloaded. |
SetObjectSymlinkRequest |
withForbidOverwrite(boolean forbidOverwrite)
Sets the flag of forbid overwrite and returns this object, enabling additional method calls to be chained together. |
SetObjectSymlinkRequest |
withKey(String key)
Sets the key under which the object to be downloaded is stored. |
SetObjectSymlinkRequest |
withRequestCredentials(BceCredentials credentials)
|
SetObjectSymlinkRequest |
withStorageClass(String storageClass)
Sets the symlink storageClass and returns this object, enabling additional method calls to be chained together. |
SetObjectSymlinkRequest |
withSymlinkTarget(String symlinkTarget)
Sets the symlink of target object, and returns this object, enabling additional method calls to be chained together. |
SetObjectSymlinkRequest |
withUserMetadata(Map<String,String> userMetadata)
Sets user-meta of symlink and returns this object, enabling additional method calls to be chained together. |
| Methods inherited from class com.baidubce.services.bos.model.GetObjectRequest |
|---|
getRange, setRange, withRange |
| Methods inherited from class com.baidubce.services.bos.model.GenericObjectRequest |
|---|
getKey, setKey |
| Methods inherited from class com.baidubce.services.bos.model.GenericBucketRequest |
|---|
getBucketName, setBucketName |
| Methods inherited from class com.baidubce.model.AbstractBceRequest |
|---|
getRequestCredentials, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SetObjectSymlinkRequest(String bucketName,
String key,
String symlinkTarget)
| Method Detail |
|---|
public String getSymlinkTarget()
public void setSymlinkTarget(String symlinkTarget)
symlinkTarget - public SetObjectSymlinkRequest withSymlinkTarget(String symlinkTarget)
public boolean isForbidOverwrite()
public void setForbidOverwrite(boolean forbidOverwrite)
forbidOverwrite - public SetObjectSymlinkRequest withForbidOverwrite(boolean forbidOverwrite)
public void setStorageClass(String storageClass)
storageClass - public String getStorageClass()
public SetObjectSymlinkRequest withStorageClass(String storageClass)
storageClass -
public Map<String,String> getUserMetadata()
public void setUserMetadata(Map<String,String> userMetadata)
userMetadata - public SetObjectSymlinkRequest withUserMetadata(Map<String,String> userMetadata)
userMetadata -
public SetObjectSymlinkRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class GetObjectRequestpublic SetObjectSymlinkRequest withBucketName(String bucketName)
GetObjectRequest
withBucketName in class GetObjectRequestbucketName - The name of the bucket containing the object to be downloaded.
public SetObjectSymlinkRequest withKey(String key)
GetObjectRequest
withKey in class GetObjectRequestkey - The key under which the object to be downloaded is stored.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||