public static final class DescribeDemandsRequest.Builder extends Object
public DescribeDemandsRequest.Builder demandId(String demandId)
public DescribeDemandsRequest.Builder demandStatus(List<String> demandStatus)
* Creating: The demand is being created. * Active: The filed resources are being supplied. * Expired: The demand has expired. * Finished: The filed resources are consumed. * Refused: The demand is rejected. To view the reason for rejection, see the `Comment` parameter in the response. * Cancelled: The demand is canceled.
public DescribeDemandsRequest.Builder demandType(String demandType)
* Custom: filed on your own. * System (default): filed by Alibaba Cloud.
public DescribeDemandsRequest.Builder dryRun(Boolean dryRun)
* true: performs only a dry run. The system checks whether your AccessKey pair is valid, whether RAM users are granted required permissions, and whether the required parameters are specified. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned. * false (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
public DescribeDemandsRequest.Builder instanceChargeType(String instanceChargeType)
* PostPaid: pay-as-you-go. * PrePaid: subscription.
public DescribeDemandsRequest.Builder instanceType(String instanceType)
public DescribeDemandsRequest.Builder instanceTypeFamily(String instanceTypeFamily)
public DescribeDemandsRequest.Builder ownerAccount(String ownerAccount)
public DescribeDemandsRequest.Builder ownerId(Long ownerId)
public DescribeDemandsRequest.Builder pageNumber(Integer pageNumber)
Default value: 1.
public DescribeDemandsRequest.Builder pageSize(Integer pageSize)
Default value: 10.
public DescribeDemandsRequest.Builder regionId(String regionId)
public DescribeDemandsRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public DescribeDemandsRequest.Builder resourceOwnerId(Long resourceOwnerId)
public DescribeDemandsRequest.Builder tag(List<DescribeDemandsRequest.Tag> tag)
public DescribeDemandsRequest.Builder zoneId(String zoneId)
public DescribeDemandsRequest build()
Copyright © 2024. All rights reserved.