public class CreateNatRequest extends AbstractBceRequest
| Constructor and Description |
|---|
CreateNatRequest() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getRequestCredentials, setRequestCredentialspublic AbstractBceRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequestpublic CreateNatRequest withName(String name)
name - The name of CreateNatRequestpublic CreateNatRequest withVpcId(String vpcId)
vpcId - The vpcId of CreateNatRequestpublic CreateNatRequest withSpec(String spec)
spec - The spec of CreateNatRequestpublic CreateNatRequest withEips(List<String> eips)
eips - The spec of CreateNatRequestpublic CreateNatRequest withBilling(Billing billing)
billing - The spec of CreateNatRequestpublic String getClientToken()
public void setClientToken(String clientToken)
public String getName()
public void setName(String name)
public String getVpcId()
public void setVpcId(String vpcId)
public String getSpec()
public void setSpec(String spec)
public Billing getBilling()
public void setBilling(Billing billing)
Copyright © 2022. All rights reserved.