com.baidubce.services.eipgroup
Class EipGroupClient

java.lang.Object
  extended by com.baidubce.AbstractBceClient
      extended by com.baidubce.services.eipgroup.EipGroupClient

public class EipGroupClient
extends AbstractBceClient

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
EipGroupClient()
          Constructs a new client to invoke service methods on network.
EipGroupClient(EipGroupClientConfiguration clientConfiguration)
          Constructs a new network client using the client configuration to access network.
 
Method Summary
 void addCount(EipCountRequest request)
          Resize the count.
 IdResponse createEipGroup(CreateEipGroupRequest request)
          Create a eip group with the specified options.
 GetEipGroupResponse getEipGroup(GetEipGroupRequest request)
          Get the detail information of specified eip group.
 ListEipGroupResponse listEipGroup(ListEipGroupRequest request)
          Return a list of eip groups owned by the authenticated user.
 void purchaseReservedEipGroup(PurchaseReservedEipGroupRequest request)
          PurchaseReserving specified eip group.
 void resizeBandwidth(BandwidthInMbpsRequest request)
          Resize the bandwidth.
 void update(EipNameRequest request)
          Resize the name.
 
Methods inherited from class com.baidubce.AbstractBceClient
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

EipGroupClient

public EipGroupClient()
Constructs a new client to invoke service methods on network.


EipGroupClient

public EipGroupClient(EipGroupClientConfiguration clientConfiguration)
Constructs a new network client using the client configuration to access network.

Parameters:
clientConfiguration - The network client configuration options controlling how this client connects to network (e.g. proxy settings, retry counts, etc).
Method Detail

createEipGroup

public IdResponse createEipGroup(CreateEipGroupRequest request)
Create a eip group with the specified options. You must fill the field of clientToken,which is especially for keeping idempotent.

Parameters:
request - The request containing all options for creating a eip group.
Returns:
eip group's id newly created
Throws:
BceClientException

resizeBandwidth

public void resizeBandwidth(BandwidthInMbpsRequest request)
Resize the bandwidth.

Parameters:
request - The request containing all options for binding the eips to specified eip group.

update

public void update(EipNameRequest request)
Resize the name.

Parameters:
request - The request containing all options for binding the eips to specified eip group.

addCount

public void addCount(EipCountRequest request)
Resize the count.

Parameters:
request - The request containing all options for binding the eips to specified eip group.

listEipGroup

public ListEipGroupResponse listEipGroup(ListEipGroupRequest request)
Return a list of eip groups owned by the authenticated user.

Parameters:
request - The request containing all options for listing own's eip groups.
Returns:
The response containing a list of eip groups owned by the authenticated user.

getEipGroup

public GetEipGroupResponse getEipGroup(GetEipGroupRequest request)
Get the detail information of specified eip group.

Parameters:
request - The request of the eip group.
Returns:
A eip group detail model for the request.

purchaseReservedEipGroup

public void purchaseReservedEipGroup(PurchaseReservedEipGroupRequest request)
PurchaseReserving specified eip group.

Parameters:
request - The request containing all options for purchaseReserving the eips to specified eip group.


Copyright © 2018. All rights reserved.