Package cn.ucloud.udpn.models
Class AllocateUDPNRequest
- java.lang.Object
-
- cn.ucloud.common.request.Request
-
- cn.ucloud.udpn.models.AllocateUDPNRequest
-
public class AllocateUDPNRequest extends Request
-
-
Constructor Summary
Constructors Constructor Description AllocateUDPNRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetBandwidth()StringgetChargeType()StringgetCouponId()StringgetPayMode()StringgetPeer1()StringgetPeer2()StringgetProjectId()IntegergetQuantity()StringgetRegion()IntegerloadMaxRetries()IntegerloadTimeout()voidsetBandwidth(Integer bandwidth)voidsetChargeType(String chargeType)voidsetCouponId(String couponId)voidsetPayMode(String payMode)voidsetPeer1(String peer1)voidsetPeer2(String peer2)voidsetProjectId(String projectId)voidsetQuantity(Integer quantity)voidsetRegion(String region)voidwithMaxRetries(Integer arg0)voidwithTimeout(Integer arg0)-
Methods inherited from class cn.ucloud.common.request.Request
encode, getAction, getPublicKey, getSignature, setAction, setPublicKey, setSignature
-
-
-
-
Method Detail
-
getProjectId
public String getProjectId()
- Overrides:
getProjectIdin classRequest
-
setProjectId
public void setProjectId(String projectId)
- Overrides:
setProjectIdin classRequest
-
getPeer1
public String getPeer1()
-
setPeer1
public void setPeer1(String peer1)
-
getPeer2
public String getPeer2()
-
setPeer2
public void setPeer2(String peer2)
-
getBandwidth
public Integer getBandwidth()
-
setBandwidth
public void setBandwidth(Integer bandwidth)
-
getChargeType
public String getChargeType()
-
setChargeType
public void setChargeType(String chargeType)
-
getQuantity
public Integer getQuantity()
-
setQuantity
public void setQuantity(Integer quantity)
-
getPayMode
public String getPayMode()
-
setPayMode
public void setPayMode(String payMode)
-
getCouponId
public String getCouponId()
-
setCouponId
public void setCouponId(String couponId)
-
loadMaxRetries
public Integer loadMaxRetries()
-
withMaxRetries
public void withMaxRetries(Integer arg0)
-
loadTimeout
public Integer loadTimeout()
-
withTimeout
public void withTimeout(Integer arg0)
-
-