类 CreatePeerConnRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.peerconn.model.CreatePeerConnRequest
-
public class CreatePeerConnRequest extends AbstractBceRequest
The request for creating a peer connection.
-
-
构造器概要
构造器 构造器 说明 CreatePeerConnRequest()
-
方法概要
-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
withBilling
public CreatePeerConnRequest withBilling(Billing billing)
Configure billing for the request.- 参数:
billing- The billing of CreatePeerConnRequest- 返回:
- CreatePeerConnRequest with specific billing
-
withPeerIfName
public CreatePeerConnRequest withPeerIfName(String peerIfName)
Configure peerIfName for the request.- 参数:
peerIfName- The peerIfName of CreatePeerConnRequest- 返回:
- CreatePeerConnRequest with specific peerIfName
-
withPeerRegion
public CreatePeerConnRequest withPeerRegion(String peerRegion)
Configure peerRegion for the request.- 参数:
peerRegion- The peerIfName of CreatePeerConnRequest- 返回:
- CreatePeerConnRequest with specific peerRegion
-
withPeerVpcId
public CreatePeerConnRequest withPeerVpcId(String peerVpcId)
Configure peerVpcId for the request.- 参数:
peerVpcId- The peerVpcId of CreatePeerConnRequest- 返回:
- CreatePeerConnRequest with specific peerVpcId
-
withPeerAccountId
public CreatePeerConnRequest withPeerAccountId(String peerAccountId)
Configure peerAccountId for the request.- 参数:
peerAccountId- The peerAccountId of CreatePeerConnRequest- 返回:
- CreatePeerConnRequest with specific peerAccountId
-
withLocalVpcId
public CreatePeerConnRequest withLocalVpcId(String localVpcId)
Configure localVpcId for the request.- 参数:
localVpcId- The localVpcId of CreatePeerConnRequest.- 返回:
- CreatePeerConnRequest with specific localVpcId.
-
withLocalIfName
public CreatePeerConnRequest withLocalIfName(String localIfName)
Configure localIfName for the request.- 参数:
localIfName- The localIfName of CreatePeerConnRequest.- 返回:
- CreatePeerConnRequest with specific localIfName.
-
withDescription
public CreatePeerConnRequest withDescription(String description)
Configure description for the request.- 参数:
description- The description of CreatePeerConnRequest.- 返回:
- CreatePeerConnRequest with specific description.
-
withBandwidthInMbps
public CreatePeerConnRequest withBandwidthInMbps(int bandwidthInMbps)
Configure bandwidthInMbps for the request.- 参数:
bandwidthInMbps- The bandwidthInMbps of CreatePeerConnRequest.- 返回:
- CreatePeerConnRequest with specific bandwidthInMbps.
-
withRequestCredentials
public AbstractBceRequest withRequestCredentials(BceCredentials credentials)
- 指定者:
withRequestCredentials在类中AbstractBceRequest
-
getClientToken
public String getClientToken()
-
setClientToken
public void setClientToken(String clientToken)
-
getBandwidthInMbps
public int getBandwidthInMbps()
-
setBandwidthInMbps
public void setBandwidthInMbps(int bandwidthInMbps)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getLocalIfName
public String getLocalIfName()
-
setLocalIfName
public void setLocalIfName(String localIfName)
-
getLocalVpcId
public String getLocalVpcId()
-
setLocalVpcId
public void setLocalVpcId(String localVpcId)
-
getPeerAccountId
public String getPeerAccountId()
-
setPeerAccountId
public void setPeerAccountId(String peerAccountId)
-
getPeerVpcId
public String getPeerVpcId()
-
setPeerVpcId
public void setPeerVpcId(String peerVpcId)
-
getPeerRegion
public String getPeerRegion()
-
setPeerRegion
public void setPeerRegion(String peerRegion)
-
getPeerIfName
public String getPeerIfName()
-
setPeerIfName
public void setPeerIfName(String peerIfName)
-
getBilling
public Billing getBilling()
-
setBilling
public void setBilling(Billing billing)
-
-