com.baidubce.services.peerconn.model
Class ModifyBandwidthRequest
java.lang.Object
com.baidubce.model.AbstractBceRequest
com.baidubce.services.peerconn.model.ModifyBandwidthRequest
public class ModifyBandwidthRequest
- extends AbstractBceRequest
The peer conn id request.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModifyBandwidthRequest
public ModifyBandwidthRequest()
withPeerConnId
public ModifyBandwidthRequest withPeerConnId(String peerConnId)
- Configure bandwidthInMbps for the request.
- Parameters:
peerConnId
- The bandwidthInMbps of ModifyBandwidthRequest.
- Returns:
- ModifyBandwidthRequest with specific bandwidthInMbps.
withNewBandwidthInMbps
public ModifyBandwidthRequest withNewBandwidthInMbps(int newBandwidthInMbps)
- Configure bandwidthInMbps for the request.
- Parameters:
newBandwidthInMbps
- The bandwidthInMbps of ModifyBandwidthRequest.
- Returns:
- ModifyBandwidthRequest with specific bandwidthInMbps.
withRequestCredentials
public AbstractBceRequest withRequestCredentials(BceCredentials credentials)
- Specified by:
withRequestCredentials
in class 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)
Copyright © 2018. All rights reserved.