|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.baidubce.model.AbstractBceRequest
com.baidubce.services.vpc.model.CreateVpcRequest
public class CreateVpcRequest
The request for creating a newly vpc.
Constructor Summary | |
---|---|
CreateVpcRequest()
|
Method Summary | |
---|---|
String |
getCidr()
|
String |
getClientToken()
|
String |
getDescription()
|
String |
getName()
|
void |
setCidr(String cidr)
|
void |
setClientToken(String clientToken)
|
void |
setDescription(String description)
|
void |
setName(String name)
|
CreateVpcRequest |
withCidr(String cidr)
Configure cidr for the request. |
CreateVpcRequest |
withDescription(String description)
Configure description for the request. |
CreateVpcRequest |
withName(String name)
Configure name for the request. |
CreateVpcRequest |
withRequestCredentials(BceCredentials credentials)
Configure request credential 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 |
---|
public CreateVpcRequest()
Method Detail |
---|
public String getName()
public void setName(String name)
public String getCidr()
public void setCidr(String cidr)
public String getDescription()
public void setDescription(String description)
public String getClientToken()
public void setClientToken(String clientToken)
public CreateVpcRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials
in class AbstractBceRequest
credentials
- a valid instance of BceCredentials.
public CreateVpcRequest withName(String name)
name
- The name of vpc
public CreateVpcRequest withCidr(String cidr)
cidr
- the cidr of vpc
public CreateVpcRequest withDescription(String description)
description
- the type of vpc
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |