类 EtGatewayClient
- java.lang.Object
-
- com.baidubce.AbstractBceClient
-
- com.baidubce.services.etgateway.EtGatewayClient
-
public class EtGatewayClient extends AbstractBceClient
-
-
字段概要
-
从类继承的字段 com.baidubce.AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX
-
-
构造器概要
构造器 构造器 说明 EtGatewayClient()Constructs a new client to invoke service methods on EtGateway.EtGatewayClient(BceClientConfiguration clientConfiguration)Constructs a new EtGatewayClient client using the client configuration to access EtGateway.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidbindEtChannel(BindEtChannelRequest request)Binding a dedicated line gateway to a physical dedicated line channel, you can choose to simultaneously set the cloud-side network parameters.CreateEtGatewayResponsecreateEtGateway(CreateEtGatewayRequest request)Create a EtGateway with the specified options.voidcreateEtGatewayHealthCheck(CreateEtGatewayHealthCheckRequest request)Create health check for the dedicated line gateway.voiddeleteEtGateway(String etGatewayId)Release the dedicated line gatewayvoiddeleteEtGateway(String etGatewayId, String clientToken)Release the dedicated line gatewayGetEtGatewayResponsegetEtGateway(String etGatewayId)Query details of the dedicated line gatewayListEtGatewayResponselistEtGateways(ListEtGatewayRequest request)In accordance with the query info, return a list of dedicated line gateways.voidunbindEtChannel(UnbindEtChannelRequest request)Unbinding a dedicated line gateway from a physical dedicated line channelvoidupdateEtGateway(UpdateEtGatewayRequest request)Update the dedicated line gateway.-
从类继承的方法 com.baidubce.AbstractBceClient
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown
-
-
-
-
构造器详细资料
-
EtGatewayClient
public EtGatewayClient()
Constructs a new client to invoke service methods on EtGateway.
-
EtGatewayClient
public EtGatewayClient(BceClientConfiguration clientConfiguration)
Constructs a new EtGatewayClient client using the client configuration to access EtGateway.- 参数:
clientConfiguration- The EtGatewayClient client configuration options controlling how this client connects to EtGateway (e.g. proxy settings, retry counts, etc).
-
-
方法详细资料
-
createEtGateway
public CreateEtGatewayResponse createEtGateway(CreateEtGatewayRequest request)
Create a EtGateway with the specified options. You must fill the field of clientToken,which is especially for keeping idempotent.- 参数:
request- The request containing all options for creating an EtGateway.- 返回:
- etGatewayId newly created
- 抛出:
BceClientException
-
listEtGateways
public ListEtGatewayResponse listEtGateways(ListEtGatewayRequest request)
In accordance with the query info, return a list of dedicated line gateways.- 参数:
request- The request containing all options for list EtGateway.- 返回:
-
getEtGateway
public GetEtGatewayResponse getEtGateway(String etGatewayId)
Query details of the dedicated line gateway- 参数:
etGatewayId-- 返回:
-
updateEtGateway
public void updateEtGateway(UpdateEtGatewayRequest request)
Update the dedicated line gateway.- 参数:
request- The request containing all options for update EtGateway.
-
deleteEtGateway
public void deleteEtGateway(String etGatewayId)
Release the dedicated line gateway- 参数:
etGatewayId-
-
deleteEtGateway
public void deleteEtGateway(String etGatewayId, String clientToken)
Release the dedicated line gateway- 参数:
etGatewayId-clientToken- The request will be idempotent if clientToken is provided.
-
bindEtChannel
public void bindEtChannel(BindEtChannelRequest request)
Binding a dedicated line gateway to a physical dedicated line channel, you can choose to simultaneously set the cloud-side network parameters.- 参数:
request-
-
unbindEtChannel
public void unbindEtChannel(UnbindEtChannelRequest request)
Unbinding a dedicated line gateway from a physical dedicated line channel- 参数:
request-
-
createEtGatewayHealthCheck
public void createEtGatewayHealthCheck(CreateEtGatewayHealthCheckRequest request)
Create health check for the dedicated line gateway.- 参数:
request-
-
-