类 DeleteVpcRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.vpc.model.DeleteVpcRequest
-
public class DeleteVpcRequest extends AbstractBceRequest
The request for deleting vpc.
-
-
构造器概要
构造器 构造器 说明 DeleteVpcRequest()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetClientToken()StringgetVpcId()voidsetClientToken(String clientToken)voidsetVpcId(String vpcId)DeleteVpcRequestwithClientToken(String clientToken)Configure optional client token for the request.DeleteVpcRequestwithRequestCredentials(BceCredentials credentials)Configure request credential for the request.DeleteVpcRequestwithVpcId(String vpcId)Configure the vpcId for the request.-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
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.- 参数:
clientToken- An ASCII string whose length is less than 64. See more detail at BCE API doc- 返回:
- DeleteVpcRequest with specific clientToken
-
withVpcId
public DeleteVpcRequest withVpcId(String vpcId)
Configure the vpcId for the request.- 参数:
vpcId- The id of network.- 返回:
- GetVpcRequest with specified vpcId.
-
withRequestCredentials
public DeleteVpcRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.- 指定者:
withRequestCredentials在类中AbstractBceRequest- 参数:
credentials- a valid instance of BceCredentials.- 返回:
- DeleteVpcRequest with credentials.
-
getClientToken
public String getClientToken()
-
setClientToken
public void setClientToken(String clientToken)
-
-