com.baidubce.services.vpc.model
Class GetVpcRequest

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

public class GetVpcRequest
extends AbstractBceRequest

The request for getting vpc


Constructor Summary
GetVpcRequest()
           
 
Method Summary
 String getVpcId()
           
 void setVpcId(String vpcId)
           
 GetVpcRequest withRequestCredentials(BceCredentials credentials)
          Configure request credential for the request.
 GetVpcRequest 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

GetVpcRequest

public GetVpcRequest()
Method Detail

getVpcId

public String getVpcId()

setVpcId

public void setVpcId(String vpcId)

withVpcId

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

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

withRequestCredentials

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

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


Copyright © 2018. All rights reserved.