Package cn.ucloud.common.request
Class Request
java.lang.Object
cn.ucloud.common.request.Request
Request is the base-class of all request object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionencode()Encode will encode the request object to a mapvoidvoidsetProjectId(String projectId) voidsetPublicKey(String publicKey) voidvoidsetSignature(String signature) voidwithMaxRetries(Integer maxRetries) voidwithTimeout(Integer timeout)
-
Constructor Details
-
Request
public Request()
-
-
Method Details
-
getPublicKey
-
setPublicKey
-
getAction
-
setAction
-
getSignature
-
setSignature
-
getRegion
-
setRegion
-
getProjectId
-
setProjectId
-
encode
Encode will encode the request object to a map- Returns:
- map representation of request
- Throws:
UCloudException
-
loadMaxRetries
-
withMaxRetries
-
loadTimeout
-
withTimeout
-