public class GetObjectMetaResponse
extends com.aliyun.tea.TeaModel
| Modifier and Type | Field and Description |
|---|---|
String |
contentLength |
String |
eTag |
String |
lastModified |
String |
requestId |
| Constructor and Description |
|---|
GetObjectMetaResponse() |
| Modifier and Type | Method and Description |
|---|---|
static GetObjectMetaResponse |
build(Map<String,?> map) |
String |
getContentLength() |
String |
getETag() |
String |
getLastModified() |
String |
getRequestId() |
GetObjectMetaResponse |
setContentLength(String contentLength) |
GetObjectMetaResponse |
setETag(String eTag) |
GetObjectMetaResponse |
setLastModified(String lastModified) |
GetObjectMetaResponse |
setRequestId(String requestId) |
@NameInMap(value="x-oss-request-id") @Validation(required=true) public String requestId
@NameInMap(value="etag") @Validation(required=true) public String eTag
@NameInMap(value="content-length") @Validation(required=true) public String contentLength
@NameInMap(value="last-modified") @Validation(required=true) public String lastModified
public static GetObjectMetaResponse build(Map<String,?> map) throws Exception
Exceptionpublic GetObjectMetaResponse setRequestId(String requestId)
public String getRequestId()
public GetObjectMetaResponse setETag(String eTag)
public String getETag()
public GetObjectMetaResponse setContentLength(String contentLength)
public String getContentLength()
public GetObjectMetaResponse setLastModified(String lastModified)
public String getLastModified()
Copyright © 2021. All rights reserved.