类 DeleteDirectoryResponse
- java.lang.Object
-
- com.baidubce.model.AbstractBceResponse
-
- com.baidubce.services.bos.model.BosResponse
-
- com.baidubce.services.bos.model.DeleteDirectoryResponse
-
- 所有已实现的接口:
Serializable
public class DeleteDirectoryResponse extends BosResponse
- 另请参阅:
- 序列化表格
-
-
字段概要
-
从类继承的字段 com.baidubce.model.AbstractBceResponse
metadata
-
-
构造器概要
构造器 构造器 说明 DeleteDirectoryResponse()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetBucketName()Gets the name of the Baidu Bos bucket containing the objects.intgetDeleteNumber()Gets the number of this delete objects request have deleted.StringgetNextDeleteMarker()Gets the marker to use in the nextDeleteObjectrequest in order to delete the next objects of namespace directory.booleanisTruncated()Gets whether or not this objects deleting is complete.voidsetBucketName(String bucketName)For internal use only.voidsetDeleteNumber(int deleteNumber)For internal use only.voidsetNextDeleteMarker(String nextDeleteMarker)For internal use only.voidsetTruncated(boolean isTruncated)For internal use only.-
从类继承的方法 com.baidubce.services.bos.model.BosResponse
getMetadata
-
-
-
-
方法详细资料
-
getNextDeleteMarker
public String getNextDeleteMarker()
Gets the marker to use in the nextDeleteObjectrequest in order to delete the next objects of namespace directory.- 返回:
- The marker to use in the next
DeleteObjectrequest in order to see the next objects of namespace directory if this directory deleting is truncated. Returnsnullif this object listing isn't truncated.
-
setNextDeleteMarker
public void setNextDeleteMarker(String nextDeleteMarker)
For internal use only. Sets the marker to use in the next delete objects request in order to see the next objects of namespace directory for a truncated object deleting.- 参数:
nextDeleteMarker- The marker to use in the next listObjects request in order to see the next objects of namespace directory for a truncated object deleting.
-
getBucketName
public String getBucketName()
Gets the name of the Baidu Bos bucket containing the objects.- 返回:
- The name of the Baidu Bos bucket containing the objects.
-
setBucketName
public void setBucketName(String bucketName)
For internal use only. Sets the name of the Baidu Bos bucket containing the objects listed in this BosObjectListing.- 参数:
bucketName- The name of the Baidu Bos bucket containing the objects deleted in this BosObjectDeleting.
-
isTruncated
public boolean isTruncated()
Gets whether or not this objects deleting is complete.- 返回:
- The value
trueif the object deleting is not complete. Returns the valuefalseif otherwise. When returningtrue, additional calls to Baidu Bos may be needed in order to obtain more results.
-
setTruncated
public void setTruncated(boolean isTruncated)
For internal use only. Sets the truncated property for this object listing, indicating if this is a complete listing or not and whether the caller needs to make additional calls to Bos to get more object summaries.- 参数:
isTruncated- The valuetrueif the object listing is not complete. The valuefalseif otherwise.
-
getDeleteNumber
public int getDeleteNumber()
Gets the number of this delete objects request have deleted.- 返回:
- The number of this delete objects request have deleted.
-
setDeleteNumber
public void setDeleteNumber(int deleteNumber)
For internal use only. Sets the number of this delete objects request have deleted.- 参数:
deleteNumber- the number of this delete objects request have deleted.
-
-