|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.baidubce.AbstractBceClient
com.baidubce.services.nat.NatClient
public class NatClient
Provides the client for accessing the Baidu Cloud network Service nat part.
| Field Summary |
|---|
| Fields inherited from class com.baidubce.AbstractBceClient |
|---|
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX |
| Constructor Summary | |
|---|---|
NatClient()
Constructs a new client to invoke service methods on network. |
|
NatClient(NatClientConfiguration clientConfiguration)
Constructs a new network client using the client configuration to access network. |
|
| Method Summary | |
|---|---|
void |
bindEip(BindEipRequest request)
Binding the eips to specified nat. |
CreateNatResponse |
createNat(CreateNatRequest request)
Create a nat with the specified options. |
GetNatResponse |
getNat(GetNatRequest request)
Get the detail information of specified nat. |
GetNatResponse |
getNat(String natId)
Get the detail information of specified nat. |
ListNatResponse |
listNat(ListNatRequest request)
Return a list of nats owned by the authenticated user. |
void |
modifyNat(ModifyNatRequest request)
Modifying the name of the specified nat. |
void |
purchaseReservedNat(PurchaseReservedNatRequest request)
PurchaseReserving specified nat. |
void |
releaseNat(ReleaseNatRequest request)
Releasing specified nat. |
void |
unbindEip(BindEipRequest request)
Unbinding the eips to specified nat. |
| Methods inherited from class com.baidubce.AbstractBceClient |
|---|
computeServiceId, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NatClient()
public NatClient(NatClientConfiguration clientConfiguration)
clientConfiguration - The network client configuration options controlling how this client
connects to network (e.g. proxy settings, retry counts, etc).| Method Detail |
|---|
public CreateNatResponse createNat(CreateNatRequest request)
request - The request containing all options for creating a nat.
BceClientExceptionpublic ListNatResponse listNat(ListNatRequest request)
request - The request containing all options for listing own's nat.
public GetNatResponse getNat(String natId)
natId - The id of the network.
public GetNatResponse getNat(GetNatRequest request)
request - The request of the network.
public void modifyNat(ModifyNatRequest request)
request - The request containing all options for modifying the nat name;public void bindEip(BindEipRequest request)
request - The request containing all options for binding the eips to specified nat.public void unbindEip(BindEipRequest request)
request - The request containing all options for binding the eips to specified nat.public void releaseNat(ReleaseNatRequest request)
request - The request containing all options for releasing the eips to specified nat.public void purchaseReservedNat(PurchaseReservedNatRequest request)
request - The request containing all options for purchaseReserving the eips to specified nat.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||