com.baidubce.services.nat.model
Class CreateNatRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.nat.model.CreateNatRequest

public class CreateNatRequest
extends AbstractBceRequest

The request for creating a nat.


Constructor Summary
CreateNatRequest()
           
 
Method Summary
 Billing getBilling()
           
 String getClientToken()
           
 List<String> getEips()
           
 String getName()
           
 String getSpec()
           
 String getVpcId()
           
 void setBilling(Billing billing)
           
 void setClientToken(String clientToken)
           
 void setEips(List<String> eips)
           
 void setName(String name)
           
 void setSpec(String spec)
           
 void setVpcId(String vpcId)
           
 CreateNatRequest withBilling(Billing billing)
          Configure billing for the request.
 CreateNatRequest withEips(List<String> eips)
          Configure eips for the request.
 CreateNatRequest withName(String name)
          Configure name for the request.
 AbstractBceRequest withRequestCredentials(BceCredentials credentials)
           
 CreateNatRequest withSpec(String spec)
          Configure spec for the request.
 CreateNatRequest 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

CreateNatRequest

public CreateNatRequest()
Method Detail

withRequestCredentials

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

withName

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

Parameters:
name - The name of CreateNatRequest
Returns:
CreateNatRequest with specific name

withVpcId

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

Parameters:
vpcId - The vpcId of CreateNatRequest
Returns:
CreateNatRequest with specific vpcId

withSpec

public CreateNatRequest withSpec(String spec)
Configure spec for the request.

Parameters:
spec - The spec of CreateNatRequest
Returns:
CreateNatRequest with specific spec

withEips

public CreateNatRequest withEips(List<String> eips)
Configure eips for the request.

Parameters:
eips - The spec of CreateNatRequest
Returns:
CreateNatRequest with specific eips

withBilling

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

Parameters:
billing - The spec of CreateNatRequest
Returns:
CreateNatRequest with specific billing

getClientToken

public String getClientToken()

setClientToken

public void setClientToken(String clientToken)

getName

public String getName()

setName

public void setName(String name)

getVpcId

public String getVpcId()

setVpcId

public void setVpcId(String vpcId)

getSpec

public String getSpec()

setSpec

public void setSpec(String spec)

getEips

public List<String> getEips()

setEips

public void setEips(List<String> eips)

getBilling

public Billing getBilling()

setBilling

public void setBilling(Billing billing)


Copyright © 2018. All rights reserved.