com.baidubce.services.peerconn.model
Class ModifyBandwidthRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.peerconn.model.ModifyBandwidthRequest

public class ModifyBandwidthRequest
extends AbstractBceRequest

The peer conn id request.


Constructor Summary
ModifyBandwidthRequest()
           
 
Method Summary
 String getClientToken()
           
 int getNewBandwidthInMbps()
           
 String getPeerConnId()
           
 void setClientToken(String clientToken)
           
 void setNewBandwidthInMbps(int newBandwidthInMbps)
           
 void setPeerConnId(String peerConnId)
           
 ModifyBandwidthRequest withNewBandwidthInMbps(int newBandwidthInMbps)
          Configure bandwidthInMbps for the request.
 ModifyBandwidthRequest withPeerConnId(String peerConnId)
          Configure bandwidthInMbps for the request.
 AbstractBceRequest withRequestCredentials(BceCredentials credentials)
           
 
Methods inherited from class com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModifyBandwidthRequest

public ModifyBandwidthRequest()
Method Detail

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.