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, getCallbackResponseBody, getEtag, getObjectKey, getObjectStorageClass, getObjectUrl, getVersionId, setCallbackResponseBody, toStringgetOriginalHeaders, getRequestId, 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 © 2025. All rights reserved.