|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.baidubce.AbstractBceClient
com.baidubce.services.ipv6Gateway.Ipv6GatewayClient
public class Ipv6GatewayClient
Provides the client for accessing the Ipv6Gateway Service (Ipv6Gateway).
| Field Summary |
|---|
| Fields inherited from class com.baidubce.AbstractBceClient |
|---|
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX |
| Constructor Summary | |
|---|---|
Ipv6GatewayClient()
|
|
Ipv6GatewayClient(BceClientConfiguration clientConfiguration)
Constructs a new InstanceClient to invoke service methods on Ipv6Gateway instance. |
|
| Method Summary | |
|---|---|
CreateEgressOnlyRuleResponse |
craeteEgressOnlyRule(String gatewayId,
String cidr)
Add an EgressOnluRule to the Ipv6Gateway with the specified options. |
CreateEgressOnlyRuleResponse |
createEgressOnlyRule(CreateEgressOnlyRuleRequest request)
Add an EgressOnluRule to the Ipv6Gateway with the specified options. |
CreateIpv6GatewayResponse |
createIpv6Gateway(CreateIpv6GatewayRequest request)
Create an Ipv6gateway with the specified options. |
CreateIpv6GatewayResponse |
createIpv6Gateway(String vpcId,
String name,
int bandwidthInMbps)
Create an Ipv6Gateway with the specified options. |
RateLimitRuleResponse |
createRateLimitRule(CreateRateLimitRuleRequest request)
create the rateLimitRule for the Ipv6Gateway's |
void |
deleteIpv6Gateway(DeleteIpv6GatewayRequest request)
delete the Ipv6Gateway |
void |
deleteIpv6Gateway(String gatewayId)
delete the Ipv6Gateway |
void |
deleteIpv6GatewayEgressOnlyRule(DeleteIpv6EgressOnlyRuleRequest deleteIpv6EgressOnlyRuleRequest)
|
void |
deleteIpv6GatewayEgressOnlyRule(DeleteIpv6RateLimitRuleRequest request)
|
void |
deleteIpv6GatewayEgressOnlyRule(String gatewayId,
String egressOnlyRuleId)
delete the Ipv6Gateway's egressOnlyRule |
void |
deleteIpv6GatewayRateLimitRule(String gatewayId,
String rateLimitRuleId)
delete the Ipv6Gateway's rateLimitRule |
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 |
Ipv6GatewayResponse |
getIpv6Gateway(ListIpv6GatewayRequest request)
get a single Ipv6Gateway owned by the authenticated user and specified conditions |
Ipv6GatewayResponse |
getIpv6Gateway(String vpcId)
get a list of Ipv6Gateway owned by the authenticated user and default conditions |
ListEgressOnlyRuleResponse |
listEgressOnlyRule(ListEgressOnlyRuleRequest request)
Return a list of Ipv6Gateway's egressOnlyRule owned by the authenticated user. |
ListEgressOnlyRuleResponse |
listEgressOnlyRule(String gatewayId)
Return a list of Ipv6Gateway's egressOnlyRule owned by the authenticated user. |
ListRateLimitRuleResponse |
listRateLimitRule(ListEgressOnlyRuleRequest request)
|
ListRateLimitRuleResponse |
listRateLimitRule(String gatewayId)
list ipv6Gateway's rateLimitRule |
void |
resizeIpv6Gateway(ResizeIpv6GatewayRequest request)
Resizing Ipv6Gateway |
void |
resizeIpv6Gateway(String ipv6GatewayId,
int newBandwidthInMbps)
Resizing Ipv6Gateway |
void |
updateRateLimitRule(UpdateRateLimitRuleRequest request)
update the rateLimitRule for the Ipv6Gateway's |
| Methods inherited from class com.baidubce.AbstractBceClient |
|---|
computeServiceId, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Ipv6GatewayClient()
public Ipv6GatewayClient(BceClientConfiguration clientConfiguration)
clientConfiguration - The BCE client configuration options.| Method Detail |
|---|
public CreateIpv6GatewayResponse createIpv6Gateway(String vpcId,
String name,
int bandwidthInMbps)
vpcId - specify the vpcname - specify the name for ipv6GatewaybandwidthInMbps - specify the bandwidth in Mbps
public CreateIpv6GatewayResponse createIpv6Gateway(CreateIpv6GatewayRequest request)
request - The request containing all options for creating an Ipv6Gateway.
public void resizeIpv6Gateway(String ipv6GatewayId,
int newBandwidthInMbps)
ipv6GatewayId - ipv6Gateway to be resizednewBandwidthInMbps - specify new bandwidth in Mbps for ipv6Gatewaypublic void resizeIpv6Gateway(ResizeIpv6GatewayRequest request)
request - IPv6GatewayId & BandwidthInMbps must be providedpublic void deleteIpv6Gateway(String gatewayId)
gatewayId - the ipv6Gateway to be deletedpublic void deleteIpv6Gateway(DeleteIpv6GatewayRequest request)
request - The request containing all options for delete Ipv6Gatewaypublic Ipv6GatewayResponse getIpv6Gateway(String vpcId)
public Ipv6GatewayResponse getIpv6Gateway(ListIpv6GatewayRequest request)
public CreateEgressOnlyRuleResponse craeteEgressOnlyRule(String gatewayId,
String cidr)
gatewayId - specify the ipv6GatewayId to add egressOnlyRulecidr - specify the cidr for ipv6Gateway egressOnlyRule
public CreateEgressOnlyRuleResponse createEgressOnlyRule(CreateEgressOnlyRuleRequest request)
request - the request to create Ipv6Gateway egressOnlyRule
public ListEgressOnlyRuleResponse listEgressOnlyRule(String gatewayId)
public ListEgressOnlyRuleResponse listEgressOnlyRule(ListEgressOnlyRuleRequest request)
request - The request containing all options for listing own's egressOnlyRule.
public void deleteIpv6GatewayEgressOnlyRule(String gatewayId,
String egressOnlyRuleId)
gatewayId - the ipv6Gateway's egressOnlyRuleId to be deletedpublic void deleteIpv6GatewayEgressOnlyRule(DeleteIpv6EgressOnlyRuleRequest deleteIpv6EgressOnlyRuleRequest)
public RateLimitRuleResponse createRateLimitRule(CreateRateLimitRuleRequest request)
public void updateRateLimitRule(UpdateRateLimitRuleRequest request)
public void deleteIpv6GatewayRateLimitRule(String gatewayId,
String rateLimitRuleId)
gatewayId - the ipv6Gateway's rateLimitRule to be deletedpublic void deleteIpv6GatewayEgressOnlyRule(DeleteIpv6RateLimitRuleRequest request)
public ListRateLimitRuleResponse listRateLimitRule(String gatewayId)
gatewayId - the Ipv6Gateway's idpublic ListRateLimitRuleResponse listRateLimitRule(ListEgressOnlyRuleRequest request)
protected void fillPayload(InternalRequest internalRequest,
AbstractBceRequest bceRequest)
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||