public class CreateVpcRequest extends AbstractBceRequest
| Constructor and Description |
|---|
CreateVpcRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCidr() |
String |
getClientToken() |
String |
getDescription() |
Boolean |
getEnableIpv6() |
String |
getName() |
void |
setCidr(String cidr) |
void |
setClientToken(String clientToken) |
void |
setDescription(String description) |
void |
setEnableIpv6(Boolean enableIpv6) |
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.
|
getRequestCredentials, setRequestCredentialspublic 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 Boolean getEnableIpv6()
public void setEnableIpv6(Boolean enableIpv6)
public CreateVpcRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequestcredentials - a valid instance of BceCredentials.public CreateVpcRequest withName(String name)
name - The name of vpcpublic CreateVpcRequest withCidr(String cidr)
cidr - the cidr of vpcpublic CreateVpcRequest withDescription(String description)
description - the type of vpcCopyright © 2023. All rights reserved.