类 ListSubnetsRequest


  • public class ListSubnetsRequest
    extends ListRequest
    The request model to query subnet list
    • 构造器详细资料

      • ListSubnetsRequest

        public ListSubnetsRequest()
    • 方法详细资料

      • 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.