com.baidubce.services.vpc.model
Class GetVpcRequest
java.lang.Object
com.baidubce.model.AbstractBceRequest
com.baidubce.services.vpc.model.GetVpcRequest
public class GetVpcRequest
- extends AbstractBceRequest
The request for getting vpc
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetVpcRequest
public GetVpcRequest()
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.