com.baidubce.services.vpc.model
Class DeleteVpcRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.vpc.model.DeleteVpcRequest

public class DeleteVpcRequest
extends AbstractBceRequest

The request for deleting vpc.


Constructor Summary
DeleteVpcRequest()
           
 
Method Summary
 String getClientToken()
           
 String getVpcId()
           
 void setClientToken(String clientToken)
           
 void setVpcId(String vpcId)
           
 DeleteVpcRequest withClientToken(String clientToken)
          Configure optional client token for the request.
 DeleteVpcRequest withRequestCredentials(BceCredentials credentials)
          Configure request credential for the request.
 DeleteVpcRequest withVpcId(String vpcId)
          Configure the vpcId for the request.
 
Methods inherited from class com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteVpcRequest

public DeleteVpcRequest()
Method Detail

getVpcId

public String getVpcId()

setVpcId

public void setVpcId(String vpcId)

withClientToken

public DeleteVpcRequest withClientToken(String clientToken)
Configure optional client token for the request. The request will be idempotent if client token is provided. If the clientToken is not specified by the user, a random String generated by default algorithm will be used.

Parameters:
clientToken - An ASCII string whose length is less than 64. See more detail at BCE API doc
Returns:
DeleteVpcRequest with specific clientToken

withVpcId

public DeleteVpcRequest withVpcId(String vpcId)
Configure the vpcId for the request.

Parameters:
vpcId - The id of network.
Returns:
GetVpcRequest with specified vpcId.

withRequestCredentials

public DeleteVpcRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.

Specified by:
withRequestCredentials in class AbstractBceRequest
Parameters:
credentials - a valid instance of BceCredentials.
Returns:
DeleteVpcRequest with credentials.

getClientToken

public String getClientToken()

setClientToken

public void setClientToken(String clientToken)


Copyright © 2018. All rights reserved.