com.baidubce.services.nat.model
Class PurchaseReservedNatRequest
java.lang.Object
com.baidubce.model.AbstractBceRequest
com.baidubce.services.nat.model.PurchaseReservedNatRequest
public class PurchaseReservedNatRequest
- extends AbstractBceRequest
The request for purchaseReserving nat.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PurchaseReservedNatRequest
public PurchaseReservedNatRequest()
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.