public static final class DescribePriceRequest.Builder extends Object
public DescribePriceRequest.Builder dataDisk(List<DescribePriceRequest.DataDisk> dataDisk)
public DescribePriceRequest.Builder systemDisk(DescribePriceRequest.SystemDisk systemDisk)
public DescribePriceRequest.Builder dataDisks(List<DescribePriceRequest.DataDisks> dataDisks)
public DescribePriceRequest.Builder ensRegionId(String ensRegionId)
public DescribePriceRequest.Builder instanceType(String instanceType)
public DescribePriceRequest.Builder internetChargeType(String internetChargeType)
* BandwidthByDay: Pay by daily peak bandwidth * 95BandwidthByMonth: Pay by monthly 95th percentile bandwidth * PayByBandwidth4thMonth: Pay by monthly fourth peak bandwidth * PayByBandwidth: Pay by fixed bandwidth
public DescribePriceRequest.Builder period(Integer period)
* If you leave the PeriodUnit parameter empty, the instance is purchased on a monthly basis. Valid values: Day and Month. * If you set PeriodUnit to Day, you can set Period only to 3. * If you set PeriodUnit to Month, you can set Period to a number from 1 to 9, or set Period to 12.
public DescribePriceRequest.Builder periodUnit(String periodUnit)
* Month (default): * Day
public DescribePriceRequest.Builder quantity(Integer quantity)
public DescribePriceRequest build()
Copyright © 2024. All rights reserved.