|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.baidubce.model.AbstractBceRequest
com.baidubce.model.ListRequest
com.baidubce.services.subnet.model.ListSubnetsRequest
public class ListSubnetsRequest
The request model to query subnet list
Constructor Summary | |
---|---|
ListSubnetsRequest()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.baidubce.model.ListRequest |
---|
getMarker, getMaxKeys, setMarker, setMaxKeys |
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 ListSubnetsRequest()
Method Detail |
---|
public ListSubnetsRequest withZoneName(String zoneName)
zoneName
- the name of available zone
public ListSubnetsRequest withVpcId(String vpcId)
vpcId
- the vpcId of subnet
public ListSubnetsRequest withSubnetType(String subnetType)
subnetType
- the type of subnet
public 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 ListRequest
marker
- 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 ListRequest
maxKeys
- 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 AbstractBceRequest
credentials
- a valid instance of BceCredentials.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |