类 EipTpClient
- java.lang.Object
-
- com.baidubce.AbstractBceClient
-
- com.baidubce.services.eiptp.EipTpClient
-
public class EipTpClient extends AbstractBceClient
Provides the client for accessing the Elastic Ip Service (EIP TP).
-
-
字段概要
-
从类继承的字段 com.baidubce.AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX
-
-
构造器概要
构造器 构造器 说明 EipTpClient()EipTpClient(BceClientConfiguration clientConfiguration)Constructs a new InstanceClient to invoke service methods on eiptp instance.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 CreateEipTpResponsecreateEipTp(CreateEipTpRequest request)Create an eiptp 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.PUTEipTpDetailResponsegetEipTpDetail(GetEipTpRequest request)Get detail of the eiptp by the request.EipTpDetailResponsegetEipTpDetail(String id)Get detail of the eiptp by the passed id.ListEipTpsResponselistEipTps()Get a list of eiptps owned by the authenticated user.ListEipTpsResponselistEipTps(ListEipTpsRequest request)Get a list of eiptps owned by the authenticated user filtered by specific conditions.-
从类继承的方法 com.baidubce.AbstractBceClient
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown
-
-
-
-
构造器详细资料
-
EipTpClient
public EipTpClient()
-
EipTpClient
public EipTpClient(BceClientConfiguration clientConfiguration)
Constructs a new InstanceClient to invoke service methods on eiptp instance.- 参数:
clientConfiguration- The BCE client configuration options.
-
-
方法详细资料
-
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.
-
createEipTp
public CreateEipTpResponse createEipTp(CreateEipTpRequest request)
Create an eiptp with the specified options.- 参数:
request- The request containing all options for creating an eiptp.- 返回:
- created eiptp id.
-
getEipTpDetail
public EipTpDetailResponse getEipTpDetail(GetEipTpRequest request)
Get detail of the eiptp by the request.- 参数:
request- The request containing eiptp id for query.- 返回:
- the eiptp detail.
-
getEipTpDetail
public EipTpDetailResponse getEipTpDetail(String id)
Get detail of the eiptp by the passed id.- 参数:
id- The eiptp id for query.- 返回:
- the eiptp detail.
-
listEipTps
public ListEipTpsResponse listEipTps(ListEipTpsRequest request)
Get a list of eiptps owned by the authenticated user filtered by specific conditions.- 参数:
request- The request containing all options for query.- 返回:
- the list of eiptps.
-
listEipTps
public ListEipTpsResponse listEipTps()
Get a list of eiptps owned by the authenticated user.- 返回:
- the list of eiptps.
-
-