类 EndpointClient
- java.lang.Object
-
- com.baidubce.AbstractBceClient
-
- com.baidubce.services.endpoint.EndpointClient
-
public class EndpointClient extends AbstractBceClient
Provides the client for accessing the Baidu Cloud network Service ENDPOINT.
-
-
字段概要
-
从类继承的字段 com.baidubce.AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX
-
-
构造器概要
构造器 构造器 说明 EndpointClient()EndpointClient(BceClientConfiguration clientConfiguration)Constructs a new InstanceClient to invoke service methods on endpoint instance.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 CreateEndpointResponsecreateEndpoint(CreateEndpointRequest request)Create an endpoint with the specified options.EndpointgetEndpoint(GetEndpointRequest request)Get the detail information of specified Endpoint.EndpointgetEndpoint(String endpointId)Get the detail information of specified endpoint.ListEndpointResponselistEndpoint(ListEndpointRequest request)Return a list of endpoints owned by the authenticated user.ServiceResponselistService()voidmodifyEndpoint(ModifyEndpointRequest request)Modifying the name of the specified endpoint.voidreleaseEndpoint(ReleaseEndpointRequest request)Releasing specified endpoint.-
从类继承的方法 com.baidubce.AbstractBceClient
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown
-
-
-
-
构造器详细资料
-
EndpointClient
public EndpointClient()
-
EndpointClient
public EndpointClient(BceClientConfiguration clientConfiguration)
Constructs a new InstanceClient to invoke service methods on endpoint instance.- 参数:
clientConfiguration- The BCE client configuration options.
-
-
方法详细资料
-
listService
public ServiceResponse listService()
- 返回:
- Return a list of service owned by the authenticated user.
-
createEndpoint
public CreateEndpointResponse createEndpoint(CreateEndpointRequest request)
Create an endpoint with the specified options. You must fill the field of clientToken,which is especially for keeping idempotent.- 参数:
request- he request containing all options for creating a endpoint.- 返回:
-
listEndpoint
public ListEndpointResponse listEndpoint(ListEndpointRequest request)
Return a list of endpoints owned by the authenticated user.- 参数:
request- The request containing all options for listing own's endpoint.- 返回:
- The response containing a list of endpoints owned by the authenticated user.
-
getEndpoint
public Endpoint getEndpoint(String endpointId)
Get the detail information of specified endpoint.- 参数:
endpointId- The id of the endpoint.- 返回:
- A Endpoint detail model for the endpointId.
-
getEndpoint
public Endpoint getEndpoint(GetEndpointRequest request)
Get the detail information of specified Endpoint.- 参数:
request- The request of the network.- 返回:
- A Endpoint detail model for the request.
-
modifyEndpoint
public void modifyEndpoint(ModifyEndpointRequest request)
Modifying the name of the specified endpoint.- 参数:
request- The request containing all options for modifying the endpoint name/description;
-
releaseEndpoint
public void releaseEndpoint(ReleaseEndpointRequest request)
Releasing specified endpoint.- 参数:
request- The request containing all options for releasing the specified endpoint.
-
-