public static final class ListObjectsResponseBody.Contents.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
ListObjectsResponseBody.Contents |
build() |
ListObjectsResponseBody.Contents.Builder |
eTag(String eTag)
The entity tag (ETag).
|
ListObjectsResponseBody.Contents.Builder |
key(String key)
The name of the object.
|
ListObjectsResponseBody.Contents.Builder |
lastModified(String lastModified)
The time when the object was last modified.
|
ListObjectsResponseBody.Contents.Builder |
size(Long size)
The size of the returned object.
|
public ListObjectsResponseBody.Contents.Builder eTag(String eTag)
* For an object that is created by calling the PutObject operation, the ETag value of the object is the MD5 hash of the object content. * For an object that is not created by calling the PutObject operation, the ETag value of the object is the UUID of the object content. * The ETag of an object can be used to check whether the object content is modified. However, we recommend that you use the MD5 hash of an object rather than the ETag value of the object to verify data integrity.
public ListObjectsResponseBody.Contents.Builder key(String key)
public ListObjectsResponseBody.Contents.Builder lastModified(String lastModified)
public ListObjectsResponseBody.Contents.Builder size(Long size)
public ListObjectsResponseBody.Contents build()
Copyright © 2024. All rights reserved.