public static final class QueryAvailableInstancesRequest.Builder extends Object
public QueryAvailableInstancesRequest.Builder createTimeEnd(String createTimeEnd)
The end time when the specified instance is created. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
example:2016-05-23T12:00:00Z
public QueryAvailableInstancesRequest.Builder createTimeStart(String createTimeStart)
The start time when the specified instance is created. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
example:2016-05-23T12:00:00Z
public QueryAvailableInstancesRequest.Builder endTimeEnd(String endTimeEnd)
The end of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. Example: 2016-05-23T12:00:00Z.
example:2016-05-23T12:00:00Z
public QueryAvailableInstancesRequest.Builder endTimeStart(String endTimeStart)
The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. Example: 2016-05-23T12:00:00Z.
example:2016-05-23T12:00:00Z
public QueryAvailableInstancesRequest.Builder instanceIDs(String instanceIDs)
The ID of the instance. Separate multiple IDs with commas (,). You can specify a maximum of 100 IDs.
example:rm-xxxxxxxxxxxx
public QueryAvailableInstancesRequest.Builder ownerId(Long ownerId)
public QueryAvailableInstancesRequest.Builder pageNum(Integer pageNum)
The number of the page to return.
example:1
public QueryAvailableInstancesRequest.Builder pageSize(Integer pageSize)
The number of entries to return on each page.
example:20
public QueryAvailableInstancesRequest.Builder productCode(String productCode)
The code of the service. You can query the service code by calling the QueryProductList operation or viewing Codes of Alibaba Cloud services.
example:This parameter cannot be left empty if the region is specified.
rds
public QueryAvailableInstancesRequest.Builder productType(String productType)
The type of the service.
example:rds
public QueryAvailableInstancesRequest.Builder region(String region)
The ID of the region in which the instance resides.
example:cn-hangzhou
public QueryAvailableInstancesRequest.Builder renewStatus(String renewStatus)
The renewal status of the specified instance. Valid values:
AutoRenewal
public QueryAvailableInstancesRequest.Builder subscriptionType(String subscriptionType)
The billing method. Valid values:
Subscription
public QueryAvailableInstancesRequest build()
Copyright © 2026. All rights reserved.