类 EipBpClient
- java.lang.Object
-
- com.baidubce.AbstractBceClient
-
- com.baidubce.services.eipbp.EipBpClient
-
public class EipBpClient extends AbstractBceClient
Provides the client for accessing the Elastic Ip Service (EIPBP).
-
-
字段概要
-
从类继承的字段 com.baidubce.AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX
-
-
构造器概要
构造器 构造器 说明 EipBpClient()EipBpClient(BceClientConfiguration clientConfiguration)Constructs a new InstanceClient to invoke service methods on eipbp instance.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 CreateEipBpResponsecreateEipBp(CreateEipBpRequest request)Create an eipbp with the specified options.protected voidfillPayload(InternalRequest internalRequest, AbstractBceRequest bceRequest)the method to fill the internalRequest's content field with bceRequest only support HttpMethodName.POST or HttpMethodName.PUTEipBpDetailResponsegetEipBpDetail(GetEipBpRequest request)Get detail of the eipbp givened id.EipBpDetailResponsegetEipBpDetail(String id)Get detail of the eipbp givened id.ListEipBpsResponselistEipBps()Get a list of eipbps owned by the authenticated user.ListEipBpsResponselistEipBps(ListEipBpsRequest request)Get a list of eipbps owned by the authenticated user and specified conditions.ListEipBpsResponselistEipBps(String id, String name, String bindType)Get a list of eipbps owned by the authenticated user and specified conditions.voidreleaseEipBp(ReleaseEipBpRequest request)release the eipbp(delete operation).voidreleaseEipBp(String id)release the eipbp(delete operation).voidrenameEipBp(UpdateEipBpNameRequest request)Rename eipbp.voidrenameEipBp(String id, String name)Rename eipbp.voidresizeEipBp(ResizeEipBpRequest request)Resizing eipbp.voidresizeEipBp(String id, Integer bandwidthInMbps)Resizing eipbp.voidupdateAutoReleaseTime(UpdateEipBpAutoReleaseTimeRequest request)Update eipbp's autoReleaseTime.voidupdateAutoReleaseTime(String id, String autoReleaseTime)Update eipbp's autoReleaseTime.-
从类继承的方法 com.baidubce.AbstractBceClient
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown
-
-
-
-
构造器详细资料
-
EipBpClient
public EipBpClient()
-
EipBpClient
public EipBpClient(BceClientConfiguration clientConfiguration)
Constructs a new InstanceClient to invoke service methods on eipbp instance.- 参数:
clientConfiguration- The BCE client configuration options.
-
-
方法详细资料
-
createEipBp
public CreateEipBpResponse createEipBp(CreateEipBpRequest request)
Create an eipbp with the specified options. This is an asynchronous interface.- 参数:
request- The request containing all options for creating an eipbp.- 返回:
- created eipbp ip.
-
resizeEipBp
public void resizeEipBp(ResizeEipBpRequest request)
Resizing eipbp. This is an asynchronous interface.- 参数:
request- eipbp id & newBandwidthInMbps must be provided.
-
resizeEipBp
public void resizeEipBp(String id, Integer bandwidthInMbps)
Resizing eipbp.- 参数:
id- eipbp id to be resized.bandwidthInMbps- specify new bandwidth in Mbps for eipbp.
-
getEipBpDetail
public EipBpDetailResponse getEipBpDetail(GetEipBpRequest request)
Get detail of the eipbp givened id.- 参数:
request- The request containing eipbp id to query.- 返回:
- the eipbp detail.
-
getEipBpDetail
public EipBpDetailResponse getEipBpDetail(String id)
Get detail of the eipbp givened id.- 参数:
id- The eipbp id to query.- 返回:
- the eipbp detail.
-
listEipBps
public ListEipBpsResponse listEipBps(ListEipBpsRequest request)
Get a list of eipbps owned by the authenticated user and specified conditions.- 参数:
request- The request containing all options for query.- 返回:
- the eipbp's list.
-
listEipBps
public ListEipBpsResponse listEipBps()
Get a list of eipbps owned by the authenticated user.- 返回:
- the eipbp's list.
-
listEipBps
public ListEipBpsResponse listEipBps(String id, String name, String bindType)
Get a list of eipbps owned by the authenticated user and specified conditions.- 参数:
id- eipbp's id.name- eipbp's name.bindType- eipbp's bindType, eip or eipgroup.- 返回:
- the eipbp's list.
-
renameEipBp
public void renameEipBp(UpdateEipBpNameRequest request)
Rename eipbp.- 参数:
request- Eipbp id & name must be provided.
-
renameEipBp
public void renameEipBp(String id, String name)
Rename eipbp.- 参数:
id- eipbp's id.name- eipbp's new name.
-
updateAutoReleaseTime
public void updateAutoReleaseTime(UpdateEipBpAutoReleaseTimeRequest request)
Update eipbp's autoReleaseTime.- 参数:
request- Eipbp id & autoReleaseTime must be provided, the autoReleaseTime must be in UTC format.
-
updateAutoReleaseTime
public void updateAutoReleaseTime(String id, String autoReleaseTime)
Update eipbp's autoReleaseTime.- 参数:
id- eipbp's id.autoReleaseTime- eipbp's autoReleaseTime, must be in UTC format.
-
releaseEipBp
public void releaseEipBp(ReleaseEipBpRequest request)
release the eipbp(delete operation).- 参数:
request- The request containing all options for releasing eipbp.
-
releaseEipBp
public void releaseEipBp(String id)
release the eipbp(delete operation).- 参数:
id- The id eipbp to be released.
-
fillPayload
protected void fillPayload(InternalRequest internalRequest, AbstractBceRequest bceRequest)
the method to fill the internalRequest's content field with bceRequest only support HttpMethodName.POST or HttpMethodName.PUT- 参数:
internalRequest- A request object, populated with endpoint, resource path, ready for callers to populate any additional headers or parameters, and execute.bceRequest- The original request, as created by the user.
-
-