|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.baidubce.AbstractBceClient
com.baidubce.services.eipbp.EipBpClient
public class EipBpClient
Provides the client for accessing the Elastic Ip Service (EIPBP).
| Field Summary |
|---|
| Fields inherited from class com.baidubce.AbstractBceClient |
|---|
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX |
| Constructor Summary | |
|---|---|
EipBpClient()
|
|
EipBpClient(BceClientConfiguration clientConfiguration)
Constructs a new InstanceClient to invoke service methods on eipbp instance. |
|
| Method Summary | |
|---|---|
CreateEipBpResponse |
createEipBp(CreateEipBpRequest request)
Create an eipbp with the specified options. |
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 |
EipBpDetailResponse |
getEipBpDetail(GetEipBpRequest request)
Get detail of the eipbp givened id. |
EipBpDetailResponse |
getEipBpDetail(String id)
Get detail of the eipbp givened id. |
ListEipBpsResponse |
listEipBps()
Get a list of eipbps owned by the authenticated user. |
ListEipBpsResponse |
listEipBps(ListEipBpsRequest request)
Get a list of eipbps owned by the authenticated user and specified conditions. |
ListEipBpsResponse |
listEipBps(String id,
String name,
String bindType)
Get a list of eipbps owned by the authenticated user and specified conditions. |
void |
releaseEipBp(ReleaseEipBpRequest request)
release the eipbp(delete operation). |
void |
releaseEipBp(String id)
release the eipbp(delete operation). |
void |
renameEipBp(String id,
String name)
Rename eipbp. |
void |
renameEipBp(UpdateEipBpNameRequest request)
Rename eipbp. |
void |
resizeEipBp(ResizeEipBpRequest request)
Resizing eipbp. |
void |
resizeEipBp(String id,
Integer bandwidthInMbps)
Resizing eipbp. |
void |
updateAutoReleaseTime(String id,
String autoReleaseTime)
Update eipbp's autoReleaseTime. |
void |
updateAutoReleaseTime(UpdateEipBpAutoReleaseTimeRequest request)
Update eipbp's autoReleaseTime. |
| 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 EipBpClient()
public EipBpClient(BceClientConfiguration clientConfiguration)
clientConfiguration - The BCE client configuration options.| Method Detail |
|---|
public CreateEipBpResponse createEipBp(CreateEipBpRequest request)
request - The request containing all options for creating an eipbp.
public void resizeEipBp(ResizeEipBpRequest request)
request - eipbp id & newBandwidthInMbps must be provided.
public void resizeEipBp(String id,
Integer bandwidthInMbps)
id - eipbp id to be resized.bandwidthInMbps - specify new bandwidth in Mbps for eipbp.public EipBpDetailResponse getEipBpDetail(GetEipBpRequest request)
request - The request containing eipbp id to query.
public EipBpDetailResponse getEipBpDetail(String id)
id - The eipbp id to query.
public ListEipBpsResponse listEipBps(ListEipBpsRequest request)
request - The request containing all options for query.
public ListEipBpsResponse listEipBps()
public ListEipBpsResponse listEipBps(String id,
String name,
String bindType)
id - eipbp's id.name - eipbp's name.bindType - eipbp's bindType, eip or eipgroup.
public void renameEipBp(UpdateEipBpNameRequest request)
request - Eipbp id & name must be provided.
public void renameEipBp(String id,
String name)
id - eipbp's id.name - eipbp's new name.public void updateAutoReleaseTime(UpdateEipBpAutoReleaseTimeRequest request)
request - Eipbp id & autoReleaseTime must be provided, the autoReleaseTime must be in UTC format.
public void updateAutoReleaseTime(String id,
String autoReleaseTime)
id - eipbp's id.autoReleaseTime - eipbp's autoReleaseTime, must be in UTC format.public void releaseEipBp(ReleaseEipBpRequest request)
request - The request containing all options for releasing eipbp.public void releaseEipBp(String id)
id - The id eipbp to be released.
protected void fillPayload(InternalRequest internalRequest,
AbstractBceRequest bceRequest)
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||