public class ModifyServerlessStrategyRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyServerlessStrategyRequest() |
ModifyServerlessStrategyRequest(ModifyServerlessStrategyRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getAutoPause()
Get Specifies whether the cluster automatically pauses.
|
Long |
getAutoPauseDelay()
Get Specifies the delay for cluster auto-pause in seconds.
|
Long |
getAutoScaleDownDelay()
Get The parameter is temporarily unavailable.
|
Long |
getAutoScaleUpDelay()
Get The parameter is temporarily unavailable.
|
String |
getClusterId()
Get Specifies the serverless cluster id.
|
Float |
getMaxCpu()
Get Maximum value of cpu, optional range refers to the API response of DescribeServerlessInstanceSpecs.
|
Long |
getMaxRoCount()
Get Maximum number of read-only nodes.
|
Float |
getMaxRoCpu()
Get Maximum value of read-only cpu, optional range refer to the API response of DescribeServerlessInstanceSpecs.
|
Float |
getMinCpu()
Get Minimum value of cpu.
|
Long |
getMinRoCount()
Get Specifies the minimum count of read-only nodes.
|
Float |
getMinRoCpu()
Get Minimum cpu value of a read-only instance.
|
void |
setAutoPause(String AutoPause)
Set Specifies whether the cluster automatically pauses.
|
void |
setAutoPauseDelay(Long AutoPauseDelay)
Set Specifies the delay for cluster auto-pause in seconds.
|
void |
setAutoScaleDownDelay(Long AutoScaleDownDelay)
Set The parameter is temporarily unavailable.
|
void |
setAutoScaleUpDelay(Long AutoScaleUpDelay)
Set The parameter is temporarily unavailable.
|
void |
setClusterId(String ClusterId)
Set Specifies the serverless cluster id.
|
void |
setMaxCpu(Float MaxCpu)
Set Maximum value of cpu, optional range refers to the API response of DescribeServerlessInstanceSpecs.
|
void |
setMaxRoCount(Long MaxRoCount)
Set Maximum number of read-only nodes.
|
void |
setMaxRoCpu(Float MaxRoCpu)
Set Maximum value of read-only cpu, optional range refer to the API response of DescribeServerlessInstanceSpecs.
|
void |
setMinCpu(Float MinCpu)
Set Minimum value of cpu.
|
void |
setMinRoCount(Long MinRoCount)
Set Specifies the minimum count of read-only nodes.
|
void |
setMinRoCpu(Float MinRoCpu)
Set Minimum cpu value of a read-only instance.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ModifyServerlessStrategyRequest()
public ModifyServerlessStrategyRequest(ModifyServerlessStrategyRequest source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- Specifies the serverless cluster id.public String getAutoPause()
public void setAutoPause(String AutoPause)
AutoPause
- Specifies whether the cluster automatically pauses. valid values for the optional range.
public Long getAutoPauseDelay()
public void setAutoPauseDelay(Long AutoPauseDelay)
AutoPauseDelay
- Specifies the delay for cluster auto-pause in seconds. the value range is [600,691200]. the default value is 600.public Long getAutoScaleUpDelay()
public void setAutoScaleUpDelay(Long AutoScaleUpDelay)
AutoScaleUpDelay
- The parameter is temporarily unavailable.public Long getAutoScaleDownDelay()
public void setAutoScaleDownDelay(Long AutoScaleDownDelay)
AutoScaleDownDelay
- The parameter is temporarily unavailable.public Float getMinCpu()
public void setMinCpu(Float MinCpu)
MinCpu
- Minimum value of cpu. for the optional range, refer to the API response of DescribeServerlessInstanceSpecs.public Float getMaxCpu()
public void setMaxCpu(Float MaxCpu)
MaxCpu
- Maximum value of cpu, optional range refers to the API response of DescribeServerlessInstanceSpecs.public Float getMinRoCpu()
public void setMinRoCpu(Float MinRoCpu)
MinRoCpu
- Minimum cpu value of a read-only instance. for valid values, refer to the API response of DescribeServerlessInstanceSpecs.public Float getMaxRoCpu()
public void setMaxRoCpu(Float MaxRoCpu)
MaxRoCpu
- Maximum value of read-only cpu, optional range refer to the API response of DescribeServerlessInstanceSpecs.public Long getMinRoCount()
public void setMinRoCount(Long MinRoCount)
MinRoCount
- Specifies the minimum count of read-only nodes.public Long getMaxRoCount()
public void setMaxRoCount(Long MaxRoCount)
MaxRoCount
- Maximum number of read-only nodes.Copyright © 2025. All rights reserved.