类 CreateIpv6GatewayRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.ipv6Gateway.model.CreateIpv6GatewayRequest
-
public class CreateIpv6GatewayRequest extends AbstractBceRequest
The request for creating a newly Ipv6Gateway.
-
-
构造器概要
构造器 构造器 说明 CreateIpv6GatewayRequest()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intgetBandwidthInMbps()BillinggetBilling()StringgetClientToken()StringgetName()StringgetVpcId()voidsetBandwidthInMbps(int bandwidthInMbps)voidsetBilling(Billing billing)voidsetClientToken(String clientToken)voidsetName(String name)voidsetVpcId(String vpcId)CreateIpv6GatewayRequestwithBandwith(int bandwidthInMbps)Configure bandwidthInMbps for the request.CreateIpv6GatewayRequestwithBilling(Billing billing)Configure bandwidthInMbps for the request.CreateIpv6GatewayRequestwithName(String name)Configure name for the request.CreateIpv6GatewayRequestwithRequestCredentials(BceCredentials credentials)Configure request credential for the request.CreateIpv6GatewayRequestwithVpcId(String vpcId)Configure vpcId for the request.-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
getClientToken
public String getClientToken()
-
setClientToken
public void setClientToken(String clientToken)
-
withRequestCredentials
public CreateIpv6GatewayRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.- 指定者:
withRequestCredentials在类中AbstractBceRequest- 参数:
credentials- a valid instance of BceCredentials.- 返回:
- CreateIpv6GatewayRequest with credentials.
-
withName
public CreateIpv6GatewayRequest withName(String name)
Configure name for the request.- 参数:
name- The name of vpc- 返回:
- CreateIpv6GatewayRequest with specific name
-
withVpcId
public CreateIpv6GatewayRequest withVpcId(String vpcId)
Configure vpcId for the request.- 参数:
vpcId- the vpcId of Ipv6Gateway- 返回:
- CreateIpv6GatewayRequest with vpcId
-
withBandwith
public CreateIpv6GatewayRequest withBandwith(int bandwidthInMbps)
Configure bandwidthInMbps for the request.- 参数:
bandwidthInMbps- the bandwidthInMbps of Ipv6Gateway- 返回:
- CreateIpv6GatewayRequest with bandwidthInMbps
-
withBilling
public CreateIpv6GatewayRequest withBilling(Billing billing)
Configure bandwidthInMbps for the request.- 参数:
billing- the Billing of Ipv6Gateway- 返回:
- CreateIpv6GatewayRequest with billing
-
getName
public String getName()
-
setName
public void setName(String name)
-
getVpcId
public String getVpcId()
-
setVpcId
public void setVpcId(String vpcId)
-
getBandwidthInMbps
public int getBandwidthInMbps()
-
setBandwidthInMbps
public void setBandwidthInMbps(int bandwidthInMbps)
-
getBilling
public Billing getBilling()
-
setBilling
public void setBilling(Billing billing)
-
-