类 EipGroupClient
- java.lang.Object
-
- com.baidubce.AbstractBceClient
-
- com.baidubce.services.eipgroup.EipGroupClient
-
public class EipGroupClient extends AbstractBceClient
Provides the client for accessing the Baidu Cloud network Service nat part.
-
-
字段概要
-
从类继承的字段 com.baidubce.AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX
-
-
构造器概要
构造器 构造器 说明 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.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddCount(EipCountRequest request)Resize the count.IdResponsecreateEipGroup(CreateEipGroupRequest request)Create a eip group with the specified options.GetEipGroupResponsegetEipGroup(GetEipGroupRequest request)Get the detail information of specified eip group.ListEipGroupResponselistEipGroup(ListEipGroupRequest request)Return a list of eip groups owned by the authenticated user.voidpurchaseReservedEipGroup(PurchaseReservedEipGroupRequest request)PurchaseReserving specified eip group.voidresizeBandwidth(BandwidthInMbpsRequest request)Resize the bandwidth.voidupdate(EipNameRequest request)Resize the name.-
从类继承的方法 com.baidubce.AbstractBceClient
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown
-
-
-
-
构造器详细资料
-
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.- 参数:
clientConfiguration- The network client configuration options controlling how this client connects to network (e.g. proxy settings, retry counts, etc).
-
-
方法详细资料
-
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.- 参数:
request- The request containing all options for creating a eip group.- 返回:
- eip group's id newly created
- 抛出:
BceClientException
-
resizeBandwidth
public void resizeBandwidth(BandwidthInMbpsRequest request)
Resize the bandwidth.- 参数:
request- The request containing all options for binding the eips to specified eip group.
-
update
public void update(EipNameRequest request)
Resize the name.- 参数:
request- The request containing all options for binding the eips to specified eip group.
-
addCount
public void addCount(EipCountRequest request)
Resize the count.- 参数:
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.- 参数:
request- The request containing all options for listing own's eip groups.- 返回:
- 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.- 参数:
request- The request of the eip group.- 返回:
- A eip group detail model for the request.
-
purchaseReservedEipGroup
public void purchaseReservedEipGroup(PurchaseReservedEipGroupRequest request)
PurchaseReserving specified eip group.- 参数:
request- The request containing all options for purchaseReserving the eips to specified eip group.
-
-