类 EndpointClient


  • public class EndpointClient
    extends AbstractBceClient
    Provides the client for accessing the Baidu Cloud network Service ENDPOINT.
    • 构造器详细资料

      • 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.