com.baidubce.services.ipv6Gateway.model
Class CreateIpv6GatewayRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.ipv6Gateway.model.CreateIpv6GatewayRequest

public class CreateIpv6GatewayRequest
extends AbstractBceRequest

The request for creating a newly Ipv6Gateway.


Constructor Summary
CreateIpv6GatewayRequest()
           
 
Method Summary
 int getBandwidthInMbps()
           
 Billing getBilling()
           
 String getClientToken()
           
 String getName()
           
 String getVpcId()
           
 void setBandwidthInMbps(int bandwidthInMbps)
           
 void setBilling(Billing billing)
           
 void setClientToken(String clientToken)
           
 void setName(String name)
           
 void setVpcId(String vpcId)
           
 CreateIpv6GatewayRequest withBandwith(int bandwidthInMbps)
          Configure bandwidthInMbps for the request.
 CreateIpv6GatewayRequest withBilling(Billing billing)
          Configure bandwidthInMbps for the request.
 CreateIpv6GatewayRequest withName(String name)
          Configure name for the request.
 CreateIpv6GatewayRequest withRequestCredentials(BceCredentials credentials)
          Configure request credential for the request.
 CreateIpv6GatewayRequest withVpcId(String vpcId)
          Configure vpcId 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

CreateIpv6GatewayRequest

public CreateIpv6GatewayRequest()
Method Detail

getClientToken

public String getClientToken()

setClientToken

public void setClientToken(String clientToken)

withRequestCredentials

public CreateIpv6GatewayRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.

Specified by:
withRequestCredentials in class AbstractBceRequest
Parameters:
credentials - a valid instance of BceCredentials.
Returns:
CreateIpv6GatewayRequest with credentials.

withName

public CreateIpv6GatewayRequest withName(String name)
Configure name for the request.

Parameters:
name - The name of vpc
Returns:
CreateIpv6GatewayRequest with specific name

withVpcId

public CreateIpv6GatewayRequest withVpcId(String vpcId)
Configure vpcId for the request.

Parameters:
vpcId - the vpcId of Ipv6Gateway
Returns:
CreateIpv6GatewayRequest with vpcId

withBandwith

public CreateIpv6GatewayRequest withBandwith(int bandwidthInMbps)
Configure bandwidthInMbps for the request.

Parameters:
bandwidthInMbps - the bandwidthInMbps of Ipv6Gateway
Returns:
CreateIpv6GatewayRequest with bandwidthInMbps

withBilling

public CreateIpv6GatewayRequest withBilling(Billing billing)
Configure bandwidthInMbps for the request.

Parameters:
billing - the Billing of Ipv6Gateway
Returns:
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)


Copyright © 2020. All rights reserved.