public class ListSubnetsRequest extends ListRequest
| Constructor and Description |
|---|
ListSubnetsRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getSubnetType() |
String |
getVpcId() |
String |
getZoneName() |
void |
setSubnetType(String subnetType) |
void |
setVpcId(String vpcId) |
void |
setZoneName(String zoneName) |
ListSubnetsRequest |
withMarker(String marker)
Configure the request with specified marker.
|
ListSubnetsRequest |
withMaxKeys(int maxKeys)
Configure the request with specified maxKeys.
|
ListSubnetsRequest |
withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.
|
ListSubnetsRequest |
withSubnetType(String subnetType)
Configure subnet type for the request.
|
ListSubnetsRequest |
withVpcId(String vpcId)
Configure vpc id for the request.
|
ListSubnetsRequest |
withZoneName(String zoneName)
Configure zoneName for the request.
|
getMarker, getMaxKeys, setMarker, setMaxKeysgetRequestCredentials, setRequestCredentialspublic ListSubnetsRequest withZoneName(String zoneName)
zoneName - the name of available zonepublic ListSubnetsRequest withVpcId(String vpcId)
vpcId - the vpcId of subnetpublic ListSubnetsRequest withSubnetType(String subnetType)
subnetType - the type of subnetpublic String getVpcId()
public void setVpcId(String vpcId)
public String getZoneName()
public void setZoneName(String zoneName)
public String getSubnetType()
public void setSubnetType(String subnetType)
public ListSubnetsRequest withMarker(String marker)
withMarker in class ListRequestmarker - The optional parameter marker specified in the original request to specify
where in the results to begin listing.public ListSubnetsRequest withMaxKeys(int maxKeys)
withMaxKeys in class ListRequestmaxKeys - The optional parameter to specifies the max number of list result to return.
The default value is 1000.public ListSubnetsRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequestcredentials - a valid instance of BceCredentials.Copyright © 2020. All rights reserved.