public static final class ScaleoutApplicationWithNewInstancesRequest.Builder extends Object
public ScaleoutApplicationWithNewInstancesRequest.Builder appId(String appId)
public ScaleoutApplicationWithNewInstancesRequest.Builder autoRenew(Boolean autoRenew)
* true: enables auto-renewal. * false: does not enable auto-renewal. This is the default value.
public ScaleoutApplicationWithNewInstancesRequest.Builder autoRenewPeriod(Integer autoRenewPeriod)
* If the InstanceChargePeriodUnit parameter is set to Week, the valid values of the AutoRenewPeriod parameter are 1, 2, and 3. * If the InstanceChargePeriodUnit parameter is set to Month, the valid values of the AutoRenewPeriod parameter are 1, 2, 3, 6, 12, 24, 36, 48, and 60. Default value: 1.
public ScaleoutApplicationWithNewInstancesRequest.Builder clusterId(String clusterId)
public ScaleoutApplicationWithNewInstancesRequest.Builder groupId(String groupId)
public ScaleoutApplicationWithNewInstancesRequest.Builder instanceChargePeriod(Integer instanceChargePeriod)
* If the InstanceChargePeriodUnit parameter is set to Week, the valid values of the InstanceChargePeriod parameter are 1, 2, 3, and 4. * If the InstanceChargePeriodUnit parameter is set to Month, the valid values of the InstanceChargePeriod parameter are 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
public ScaleoutApplicationWithNewInstancesRequest.Builder instanceChargePeriodUnit(String instanceChargePeriodUnit)
* Week: billed on a weekly basis. * Month: billed on a monthly basis. This is the default value.
public ScaleoutApplicationWithNewInstancesRequest.Builder instanceChargeType(String instanceChargeType)
* PrePaid: subscription. * PostPaid: pay-as-you-go. This is the default value.
public ScaleoutApplicationWithNewInstancesRequest.Builder scalingNum(Integer scalingNum)
public ScaleoutApplicationWithNewInstancesRequest.Builder scalingPolicy(String scalingPolicy)
* recycle: economical mode * release: release mode For more information about how to remove instances from a specified scaling group, see [RemoveInstances](~~25955~~).
public ScaleoutApplicationWithNewInstancesRequest.Builder templateId(String templateId)
public ScaleoutApplicationWithNewInstancesRequest.Builder templateInstanceId(String templateInstanceId)
public ScaleoutApplicationWithNewInstancesRequest.Builder templateVersion(String templateVersion)
> If you set this parameter to `-1`, the default launch template version is used.
public ScaleoutApplicationWithNewInstancesRequest build()
Copyright © 2023. All rights reserved.