public class ObsFSFolder extends PutObjectResult
| 限定符和类型 | 字段和说明 |
|---|---|
protected ObsClient |
innerClient |
| 构造器和说明 |
|---|
ObsFSFolder(String bucketName,
String objectKey,
String etag,
String versionId,
StorageClassEnum storageClass,
String objectUrl) |
| 限定符和类型 | 方法和说明 |
|---|---|
ObsFSAttribute |
attribute()
Obtain folder properties.
|
protected void |
checkInternalClient() |
TaskProgressStatus |
dropFolder()
Delete a folder.
|
RenameResult |
rename(String newName)
Rename a folder.
|
protected void |
setInnerClient(ObsClient innerClient) |
getBucketName, getEtag, getObjectKey, getObjectStorageClass, getObjectUrl, getVersionId, toStringgetRequestId, getResponseHeaders, getStatusCodeprotected ObsClient innerClient
protected void setInnerClient(ObsClient innerClient)
public ObsFSAttribute attribute() throws ObsException
ObsException - OBS SDK self-defined exception, thrown when the interface
fails to be called or access to OBS failspublic RenameResult rename(String newName) throws ObsException
newName - New folder nameObsException - OBS SDK self-defined exception, thrown when the interface
fails to be called or access to OBS failspublic TaskProgressStatus dropFolder() throws ObsException
ObsException - OBS SDK self-defined exception, thrown when the interface
fails to be called or access to OBS failsprotected void checkInternalClient()
Copyright © 2021. All rights reserved.