类 Ipv6GatewayClient
- java.lang.Object
-
- com.baidubce.AbstractBceClient
-
- com.baidubce.services.ipv6Gateway.Ipv6GatewayClient
-
public class Ipv6GatewayClient extends AbstractBceClient
Provides the client for accessing the Ipv6Gateway Service (Ipv6Gateway).
-
-
字段概要
-
从类继承的字段 com.baidubce.AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX
-
-
构造器概要
构造器 构造器 说明 Ipv6GatewayClient()Ipv6GatewayClient(BceClientConfiguration clientConfiguration)Constructs a new InstanceClient to invoke service methods on Ipv6Gateway instance.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 CreateEgressOnlyRuleResponsecraeteEgressOnlyRule(String gatewayId, String cidr)Add an EgressOnluRule to the Ipv6Gateway with the specified options.CreateEgressOnlyRuleResponsecreateEgressOnlyRule(CreateEgressOnlyRuleRequest request)Add an EgressOnluRule to the Ipv6Gateway with the specified options.CreateIpv6GatewayResponsecreateIpv6Gateway(CreateIpv6GatewayRequest request)Create an Ipv6gateway with the specified options.CreateIpv6GatewayResponsecreateIpv6Gateway(String vpcId, String name, int bandwidthInMbps)Create an Ipv6Gateway with the specified options.RateLimitRuleResponsecreateRateLimitRule(CreateRateLimitRuleRequest request)create the rateLimitRule for the Ipv6Gateway'svoiddeleteIpv6Gateway(DeleteIpv6GatewayRequest request)delete the Ipv6GatewayvoiddeleteIpv6Gateway(String gatewayId)delete the Ipv6GatewayvoiddeleteIpv6GatewayEgressOnlyRule(DeleteIpv6EgressOnlyRuleRequest deleteIpv6EgressOnlyRuleRequest)voiddeleteIpv6GatewayEgressOnlyRule(DeleteIpv6RateLimitRuleRequest request)voiddeleteIpv6GatewayEgressOnlyRule(String gatewayId, String egressOnlyRuleId)delete the Ipv6Gateway's egressOnlyRulevoiddeleteIpv6GatewayRateLimitRule(String gatewayId, String rateLimitRuleId)delete the Ipv6Gateway's rateLimitRuleprotected voidfillPayload(InternalRequest internalRequest, AbstractBceRequest bceRequest)the method to fill the internalRequest's content field with bceRequest only support HttpMethodName.POST or HttpMethodName.PUTIpv6GatewayResponsegetIpv6Gateway(ListIpv6GatewayRequest request)get a single Ipv6Gateway owned by the authenticated user and specified conditionsIpv6GatewayResponsegetIpv6Gateway(String vpcId)get a list of Ipv6Gateway owned by the authenticated user and default conditionsListEgressOnlyRuleResponselistEgressOnlyRule(ListEgressOnlyRuleRequest request)Return a list of Ipv6Gateway's egressOnlyRule owned by the authenticated user.ListEgressOnlyRuleResponselistEgressOnlyRule(String gatewayId)Return a list of Ipv6Gateway's egressOnlyRule owned by the authenticated user.ListRateLimitRuleResponselistRateLimitRule(ListEgressOnlyRuleRequest request)ListRateLimitRuleResponselistRateLimitRule(String gatewayId)list ipv6Gateway's rateLimitRulevoidresizeIpv6Gateway(ResizeIpv6GatewayRequest request)Resizing Ipv6GatewayvoidresizeIpv6Gateway(String ipv6GatewayId, int newBandwidthInMbps)Resizing Ipv6GatewayvoidupdateRateLimitRule(UpdateRateLimitRuleRequest request)update the rateLimitRule for the Ipv6Gateway's-
从类继承的方法 com.baidubce.AbstractBceClient
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown
-
-
-
-
构造器详细资料
-
Ipv6GatewayClient
public Ipv6GatewayClient()
-
Ipv6GatewayClient
public Ipv6GatewayClient(BceClientConfiguration clientConfiguration)
Constructs a new InstanceClient to invoke service methods on Ipv6Gateway instance.- 参数:
clientConfiguration- The BCE client configuration options.
-
-
方法详细资料
-
createIpv6Gateway
public CreateIpv6GatewayResponse createIpv6Gateway(String vpcId, String name, int bandwidthInMbps)
Create an Ipv6Gateway with the specified options.- 参数:
vpcId- specify the vpcname- specify the name for ipv6GatewaybandwidthInMbps- specify the bandwidth in Mbps- 返回:
-
createIpv6Gateway
public CreateIpv6GatewayResponse createIpv6Gateway(CreateIpv6GatewayRequest request)
Create an Ipv6gateway with the specified options. This is an asynchronous interface- 参数:
request- The request containing all options for creating an Ipv6Gateway.- 返回:
- created ipv6Gateway gatewayId
-
resizeIpv6Gateway
public void resizeIpv6Gateway(String ipv6GatewayId, int newBandwidthInMbps)
Resizing Ipv6Gateway- 参数:
ipv6GatewayId- ipv6Gateway to be resizednewBandwidthInMbps- specify new bandwidth in Mbps for ipv6Gateway
-
resizeIpv6Gateway
public void resizeIpv6Gateway(ResizeIpv6GatewayRequest request)
Resizing Ipv6Gateway- 参数:
request- IPv6GatewayId & BandwidthInMbps must be provided
-
deleteIpv6Gateway
public void deleteIpv6Gateway(String gatewayId)
delete the Ipv6Gateway- 参数:
gatewayId- the ipv6Gateway to be deleted
-
deleteIpv6Gateway
public void deleteIpv6Gateway(DeleteIpv6GatewayRequest request)
delete the Ipv6Gateway- 参数:
request- The request containing all options for delete Ipv6Gateway
-
getIpv6Gateway
public Ipv6GatewayResponse getIpv6Gateway(String vpcId)
get a list of Ipv6Gateway owned by the authenticated user and default conditions- 返回:
-
getIpv6Gateway
public Ipv6GatewayResponse getIpv6Gateway(ListIpv6GatewayRequest request)
get a single Ipv6Gateway owned by the authenticated user and specified conditions- 返回:
-
craeteEgressOnlyRule
public CreateEgressOnlyRuleResponse craeteEgressOnlyRule(String gatewayId, String cidr)
Add an EgressOnluRule to the Ipv6Gateway with the specified options.- 参数:
gatewayId- specify the ipv6GatewayId to add egressOnlyRulecidr- specify the cidr for ipv6Gateway egressOnlyRule- 返回:
- the id of EgressOnlyRule
-
createEgressOnlyRule
public CreateEgressOnlyRuleResponse createEgressOnlyRule(CreateEgressOnlyRuleRequest request)
Add an EgressOnluRule to the Ipv6Gateway with the specified options.- 参数:
request- the request to create Ipv6Gateway egressOnlyRule- 返回:
- the id of EgressOnlyRule
-
listEgressOnlyRule
public ListEgressOnlyRuleResponse listEgressOnlyRule(String gatewayId)
Return a list of Ipv6Gateway's egressOnlyRule owned by the authenticated user.- 返回:
- The response containing a list of egressOnlyRule owned by the authenticated user.
-
listEgressOnlyRule
public ListEgressOnlyRuleResponse listEgressOnlyRule(ListEgressOnlyRuleRequest request)
Return a list of Ipv6Gateway's egressOnlyRule owned by the authenticated user.- 参数:
request- The request containing all options for listing own's egressOnlyRule.- 返回:
- The response containing a list of the Ipv6Gateway's egressOnlyRule owned by the authenticated user.
-
deleteIpv6GatewayEgressOnlyRule
public void deleteIpv6GatewayEgressOnlyRule(String gatewayId, String egressOnlyRuleId)
delete the Ipv6Gateway's egressOnlyRule- 参数:
gatewayId- the ipv6Gateway's egressOnlyRuleId to be deleted
-
deleteIpv6GatewayEgressOnlyRule
public void deleteIpv6GatewayEgressOnlyRule(DeleteIpv6EgressOnlyRuleRequest deleteIpv6EgressOnlyRuleRequest)
-
createRateLimitRule
public RateLimitRuleResponse createRateLimitRule(CreateRateLimitRuleRequest request)
create the rateLimitRule for the Ipv6Gateway's
-
updateRateLimitRule
public void updateRateLimitRule(UpdateRateLimitRuleRequest request)
update the rateLimitRule for the Ipv6Gateway's
-
deleteIpv6GatewayRateLimitRule
public void deleteIpv6GatewayRateLimitRule(String gatewayId, String rateLimitRuleId)
delete the Ipv6Gateway's rateLimitRule- 参数:
gatewayId- the ipv6Gateway's rateLimitRule to be deleted
-
deleteIpv6GatewayEgressOnlyRule
public void deleteIpv6GatewayEgressOnlyRule(DeleteIpv6RateLimitRuleRequest request)
-
listRateLimitRule
public ListRateLimitRuleResponse listRateLimitRule(String gatewayId)
list ipv6Gateway's rateLimitRule- 参数:
gatewayId- the Ipv6Gateway's id
-
listRateLimitRule
public ListRateLimitRuleResponse listRateLimitRule(ListEgressOnlyRuleRequest request)
-
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.
-
-