public class EndpointClient extends AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX| Constructor and Description |
|---|
EndpointClient() |
EndpointClient(BceClientConfiguration clientConfiguration)
Constructs a new InstanceClient to invoke service methods on endpoint instance.
|
| Modifier and Type | Method and Description |
|---|---|
CreateEndpointResponse |
createEndpoint(CreateEndpointRequest request)
Create an endpoint with the specified options.
|
Endpoint |
getEndpoint(GetEndpointRequest request)
Get the detail information of specified Endpoint.
|
Endpoint |
getEndpoint(String endpointId)
Get the detail information of specified endpoint.
|
ListEndpointResponse |
listEndpoint(ListEndpointRequest request)
Return a list of endpoints owned by the authenticated user.
|
ServiceResponse |
listService() |
void |
modifyEndpoint(ModifyEndpointRequest request)
Modifying the name of the specified endpoint.
|
void |
releaseEndpoint(ReleaseEndpointRequest request)
Releasing specified endpoint.
|
computeServiceId, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdownpublic EndpointClient()
public EndpointClient(BceClientConfiguration clientConfiguration)
clientConfiguration - The BCE client configuration options.public ServiceResponse listService()
public CreateEndpointResponse createEndpoint(CreateEndpointRequest request)
request - he request containing all options for creating a endpoint.public ListEndpointResponse listEndpoint(ListEndpointRequest request)
request - The request containing all options for listing own's endpoint.public Endpoint getEndpoint(String endpointId)
endpointId - The id of the endpoint.public Endpoint getEndpoint(GetEndpointRequest request)
request - The request of the network.public void modifyEndpoint(ModifyEndpointRequest request)
request - The request containing all options for modifying the endpoint name/description;public void releaseEndpoint(ReleaseEndpointRequest request)
request - The request containing all options for releasing the specified endpoint.Copyright © 2021. All rights reserved.