public class PurchaseReservedNatRequest extends AbstractBceRequest
| Constructor and Description |
|---|
PurchaseReservedNatRequest() |
| Modifier and Type | Method and Description |
|---|---|
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) |
getRequestCredentials, setRequestCredentialspublic PurchaseReservedNatRequest withBilling(Billing billing)
billing - The spec of CreateNatRequestpublic PurchaseReservedNatRequest withNatId(String natId)
natId - The id of the nat.public String getClientToken()
public void setClientToken(String clientToken)
public String getNatId()
public void setNatId(String natId)
public Billing getBilling()
public void setBilling(Billing billing)
public AbstractBceRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequestCopyright © 2023. All rights reserved.