public class GetObjectResponse
extends com.aliyun.tea.TeaModel
| Modifier and Type | Field and Description |
|---|---|
InputStream |
body |
String |
objectType |
String |
requestId |
String |
restore |
String |
serverSideEncryption |
String |
taggingCount |
| Constructor and Description |
|---|
GetObjectResponse() |
| Modifier and Type | Method and Description |
|---|---|
static GetObjectResponse |
build(Map<String,?> map) |
InputStream |
getBody() |
String |
getObjectType() |
String |
getRequestId() |
String |
getRestore() |
String |
getServerSideEncryption() |
String |
getTaggingCount() |
GetObjectResponse |
setBody(InputStream body) |
GetObjectResponse |
setObjectType(String objectType) |
GetObjectResponse |
setRequestId(String requestId) |
GetObjectResponse |
setRestore(String restore) |
GetObjectResponse |
setServerSideEncryption(String serverSideEncryption) |
GetObjectResponse |
setTaggingCount(String taggingCount) |
@NameInMap(value="x-oss-request-id") @Validation(required=true) public String requestId
@NameInMap(value="x-oss-object-type") @Validation(required=true) public String objectType
@NameInMap(value="x-oss-server-side-encryption") @Validation(required=true) public String serverSideEncryption
@NameInMap(value="x-oss-tagging-count") @Validation(required=true) public String taggingCount
@NameInMap(value="x-oss-restore") @Validation(required=true) public String restore
@NameInMap(value="body") @Validation(required=true) public InputStream body
public static GetObjectResponse build(Map<String,?> map) throws Exception
Exceptionpublic GetObjectResponse setRequestId(String requestId)
public String getRequestId()
public GetObjectResponse setObjectType(String objectType)
public String getObjectType()
public GetObjectResponse setServerSideEncryption(String serverSideEncryption)
public String getServerSideEncryption()
public GetObjectResponse setTaggingCount(String taggingCount)
public String getTaggingCount()
public GetObjectResponse setRestore(String restore)
public String getRestore()
public GetObjectResponse setBody(InputStream body)
public InputStream getBody()
Copyright © 2021. All rights reserved.