类 ListInstancesRequest


  • public class ListInstancesRequest
    extends ListRequest
    request model to query instance list
    • 构造器详细资料

      • ListInstancesRequest

        public ListInstancesRequest()
    • 方法详细资料

      • getInternalIp

        public String getInternalIp()
      • setInternalIp

        public void setInternalIp​(String internalIp)
      • getDedicatedHostId

        public String getDedicatedHostId()
      • setDedicatedHostId

        public void setDedicatedHostId​(String dedicatedHostId)
      • getZoneName

        public String getZoneName()
      • setZoneName

        public void setZoneName​(String zoneName)
      • withInternalIp

        public ListInstancesRequest withInternalIp​(String internalIp)
        Configure internalIp for the request.
        参数:
        internalIp - The internal ip address for accessing the instance.
        返回:
        ListInstancesRequest with internalIp.
      • withMarker

        public ListInstancesRequest 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.
        返回:
        ListInstancesRequest with specified marker.
      • withMaxKeys

        public ListInstancesRequest 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.
        返回:
        ListInstancesRequest with specified maxKeys.
      • getKeypairId

        public String getKeypairId()
      • setKeypairId

        public void setKeypairId​(String keypairId)
      • withKeypairId

        public ListInstancesRequest withKeypairId​(String keypairId)
        Configure the request with specified keypairId.
        参数:
        keypairId - The specified keypair id.
        返回:
        ListInstancesRequest with specified keypairId.
      • isAutoRenew

        public boolean isAutoRenew()
      • setAutoRenew

        public void setAutoRenew​(boolean autoRenew)
      • withAutoRenew

        public ListInstancesRequest withAutoRenew​(boolean autoRenew)
        Configure the request with specified autoRenew.
        参数:
        autoRenew - Whether the instance is auto renew or not. If true, it means the instance is auto renew.
        返回:
        ListInstancesRequest with specified autoRenew.