public class Request extends Object
| Constructor and Description |
|---|
Request() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
encode()
Encode will encode the request object to a map
|
String |
getAction() |
String |
getProjectId() |
String |
getPublicKey() |
String |
getRegion() |
String |
getSignature() |
Integer |
loadMaxRetries() |
Integer |
loadTimeout() |
void |
setAction(String action) |
void |
setProjectId(String projectId) |
void |
setPublicKey(String publicKey) |
void |
setRegion(String region) |
void |
setSignature(String signature) |
void |
withMaxRetries(Integer maxRetries) |
void |
withTimeout(Integer timeout) |
public String getPublicKey()
public void setPublicKey(String publicKey)
public String getAction()
public void setAction(String action)
public String getSignature()
public void setSignature(String signature)
public String getRegion()
public void setRegion(String region)
public String getProjectId()
public void setProjectId(String projectId)
public Map<String,Object> encode() throws UCloudException
UCloudExceptionpublic Integer loadMaxRetries()
public void withMaxRetries(Integer maxRetries)
public Integer loadTimeout()
public void withTimeout(Integer timeout)
Copyright © 2024. All rights reserved.