类 ModifyBandwidthRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.peerconn.model.ModifyBandwidthRequest
-
public class ModifyBandwidthRequest extends AbstractBceRequest
The peer conn id request.
-
-
构造器概要
构造器 构造器 说明 ModifyBandwidthRequest()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetClientToken()intgetNewBandwidthInMbps()StringgetPeerConnId()voidsetClientToken(String clientToken)voidsetNewBandwidthInMbps(int newBandwidthInMbps)voidsetPeerConnId(String peerConnId)ModifyBandwidthRequestwithNewBandwidthInMbps(int newBandwidthInMbps)Configure bandwidthInMbps for the request.ModifyBandwidthRequestwithPeerConnId(String peerConnId)Configure bandwidthInMbps for the request.AbstractBceRequestwithRequestCredentials(BceCredentials credentials)-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
withPeerConnId
public ModifyBandwidthRequest withPeerConnId(String peerConnId)
Configure bandwidthInMbps for the request.- 参数:
peerConnId- The bandwidthInMbps of ModifyBandwidthRequest.- 返回:
- ModifyBandwidthRequest with specific bandwidthInMbps.
-
withNewBandwidthInMbps
public ModifyBandwidthRequest withNewBandwidthInMbps(int newBandwidthInMbps)
Configure bandwidthInMbps for the request.- 参数:
newBandwidthInMbps- The bandwidthInMbps of ModifyBandwidthRequest.- 返回:
- ModifyBandwidthRequest with specific bandwidthInMbps.
-
withRequestCredentials
public AbstractBceRequest withRequestCredentials(BceCredentials credentials)
- 指定者:
withRequestCredentials在类中AbstractBceRequest
-
getNewBandwidthInMbps
public int getNewBandwidthInMbps()
-
setNewBandwidthInMbps
public void setNewBandwidthInMbps(int newBandwidthInMbps)
-
getClientToken
public String getClientToken()
-
setClientToken
public void setClientToken(String clientToken)
-
getPeerConnId
public String getPeerConnId()
-
setPeerConnId
public void setPeerConnId(String peerConnId)
-
-