com.baidubce.services.nat.model
Class PurchaseReservedNatRequest

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

public class PurchaseReservedNatRequest
extends AbstractBceRequest

The request for purchaseReserving nat.


Constructor Summary
PurchaseReservedNatRequest()
           
 
Method Summary
 Billing getBilling()
           
 String getClientToken()
           
 String getNatId()
           
 void setBilling(Billing billing)
           
 void setClientToken(String clientToken)
           
 void setNatId(String natId)
           
 PurchaseReservedNatRequest withBilling(Billing billing)
          Configure billing for the request.
 PurchaseReservedNatRequest withNatId(String natId)
          Configure natId for the request.
 AbstractBceRequest withRequestCredentials(BceCredentials credentials)
           
 
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

PurchaseReservedNatRequest

public PurchaseReservedNatRequest()
Method Detail

withBilling

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

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

withNatId

public PurchaseReservedNatRequest withNatId(String natId)
Configure natId for the request.

Parameters:
natId - The id of the nat.
Returns:
PurchaseReservedNatRequest with specific natId

getClientToken

public String getClientToken()

setClientToken

public void setClientToken(String clientToken)

getNatId

public String getNatId()

setNatId

public void setNatId(String natId)

getBilling

public Billing getBilling()

setBilling

public void setBilling(Billing billing)

withRequestCredentials

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


Copyright © 2018. All rights reserved.