com.baidubce.services.peerconn.model
Class SyncDnsRequest

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

public class SyncDnsRequest
extends AbstractBceRequest

The peer conn id request.


Constructor Summary
SyncDnsRequest()
           
 
Method Summary
 String getClientToken()
           
 String getPeerConnId()
           
 String getRole()
           
 void setClientToken(String clientToken)
           
 void setPeerConnId(String peerConnId)
           
 void setRole(String role)
           
 SyncDnsRequest withPeerConnId(String peerConnId)
          Configure bandwidthInMbps for the request.
 AbstractBceRequest withRequestCredentials(BceCredentials credentials)
           
 SyncDnsRequest withRole(String role)
          Configure role for the request.
 
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

SyncDnsRequest

public SyncDnsRequest()
Method Detail

withPeerConnId

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

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

withRole

public SyncDnsRequest withRole(String role)
Configure role for the request.

Parameters:
role - The role of SyncDnsRequest.
Returns:
SyncDnsRequest with specific bandwidthInMbps.

withRequestCredentials

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

getRole

public String getRole()

setRole

public void setRole(String role)

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.