com.baidubce.services.peerconn.model
Class PurchaseReservedPeerConnRequest

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

public class PurchaseReservedPeerConnRequest
extends AbstractBceRequest

The peer conn id request.


Constructor Summary
PurchaseReservedPeerConnRequest()
           
 
Method Summary
 Billing getBilling()
           
 String getClientToken()
           
 String getPeerConnId()
           
 void setBilling(Billing billing)
           
 void setClientToken(String clientToken)
           
 void setPeerConnId(String peerConnId)
           
 PurchaseReservedPeerConnRequest withBilling(Billing billing)
          Configure billing for the request.
 PurchaseReservedPeerConnRequest 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

PurchaseReservedPeerConnRequest

public PurchaseReservedPeerConnRequest()
Method Detail

withPeerConnId

public PurchaseReservedPeerConnRequest withPeerConnId(String peerConnId)
Configure bandwidthInMbps for the request.

Parameters:
peerConnId - The bandwidthInMbps of PeerConnIdRequest.
Returns:
PeerConnIdRequest with specific bandwidthInMbps.

withBilling

public PurchaseReservedPeerConnRequest withBilling(Billing billing)
Configure billing for the request.

Parameters:
billing - The billing of PeerConnIdRequest.
Returns:
PeerConnIdRequest with specific bandwidthInMbps.

withRequestCredentials

public AbstractBceRequest withRequestCredentials(BceCredentials credentials)
Specified by:
withRequestCredentials in class AbstractBceRequest

getBilling

public Billing getBilling()

setBilling

public void setBilling(Billing billing)

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.