类 ListSubnetsRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.model.ListRequest
-
- com.baidubce.services.subnet.model.ListSubnetsRequest
-
public class ListSubnetsRequest extends ListRequest
The request model to query subnet list
-
-
构造器概要
构造器 构造器 说明 ListSubnetsRequest()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetSubnetType()StringgetVpcId()StringgetZoneName()voidsetSubnetType(String subnetType)voidsetVpcId(String vpcId)voidsetZoneName(String zoneName)ListSubnetsRequestwithMarker(String marker)Configure the request with specified marker.ListSubnetsRequestwithMaxKeys(int maxKeys)Configure the request with specified maxKeys.ListSubnetsRequestwithRequestCredentials(BceCredentials credentials)Configure request credential for the request.ListSubnetsRequestwithSubnetType(String subnetType)Configure subnet type for the request.ListSubnetsRequestwithVpcId(String vpcId)Configure vpc id for the request.ListSubnetsRequestwithZoneName(String zoneName)Configure zoneName for the request.-
从类继承的方法 com.baidubce.model.ListRequest
getMarker, getMaxKeys, setMarker, setMaxKeys
-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
withZoneName
public ListSubnetsRequest withZoneName(String zoneName)
Configure zoneName for the request.- 参数:
zoneName- the name of available zone- 返回:
- ListSubnetsRequest with zone name
-
withVpcId
public ListSubnetsRequest withVpcId(String vpcId)
Configure vpc id for the request.- 参数:
vpcId- the vpcId of subnet- 返回:
- ListSubnetsRequest with vpcId
-
withSubnetType
public ListSubnetsRequest withSubnetType(String subnetType)
Configure subnet type for the request.- 参数:
subnetType- the type of subnet- 返回:
- ListSubnetsRequest with subnet type
-
getVpcId
public String getVpcId()
-
setVpcId
public void setVpcId(String vpcId)
-
getZoneName
public String getZoneName()
-
setZoneName
public void setZoneName(String zoneName)
-
getSubnetType
public String getSubnetType()
-
setSubnetType
public void setSubnetType(String subnetType)
-
withMarker
public ListSubnetsRequest withMarker(String marker)
Configure the request with specified marker.- 覆盖:
withMarker在类中ListRequest- 参数:
marker- The optional parameter marker specified in the original request to specify where in the results to begin listing.- 返回:
- ListSubnetsRequest with specified marker.
-
withMaxKeys
public ListSubnetsRequest withMaxKeys(int maxKeys)
Configure the request with specified maxKeys.- 覆盖:
withMaxKeys在类中ListRequest- 参数:
maxKeys- The optional parameter to specifies the max number of list result to return. The default value is 1000.- 返回:
- ListSubnetsRequest with specified maxKeys.
-
withRequestCredentials
public ListSubnetsRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.- 指定者:
withRequestCredentials在类中AbstractBceRequest- 参数:
credentials- a valid instance of BceCredentials.- 返回:
- ListSubnetsRequest with credentials.
-
-