public class CreateAutoScalingGroupFromInstanceRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateAutoScalingGroupFromInstanceRequest() |
CreateAutoScalingGroupFromInstanceRequest(CreateAutoScalingGroupFromInstanceRequest 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 |
getAutoScalingGroupName()
Get The scaling group name.
|
Long |
getDesiredCapacity()
Get The desired capacity.
|
Boolean |
getInheritInstanceTag()
Get Whether to inherit the instance tag.
|
String |
getInstanceId()
Get The instance ID.
|
Long |
getMaxSize()
Get The maximum number of instances.
|
Long |
getMinSize()
Get The minimum number of instances.
|
void |
setAutoScalingGroupName(String AutoScalingGroupName)
Set The scaling group name.
|
void |
setDesiredCapacity(Long DesiredCapacity)
Set The desired capacity.
|
void |
setInheritInstanceTag(Boolean InheritInstanceTag)
Set Whether to inherit the instance tag.
|
void |
setInstanceId(String InstanceId)
Set The instance ID.
|
void |
setMaxSize(Long MaxSize)
Set The maximum number of instances.
|
void |
setMinSize(Long MinSize)
Set The minimum number of instances.
|
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 CreateAutoScalingGroupFromInstanceRequest()
public CreateAutoScalingGroupFromInstanceRequest(CreateAutoScalingGroupFromInstanceRequest source)
public String getAutoScalingGroupName()
public void setAutoScalingGroupName(String AutoScalingGroupName)
AutoScalingGroupName
- The scaling group name. It must be unique under your account. The name can only contain letters, numbers, underscore, hyphen “-” and periods. It cannot exceed 55 bytes.public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- The instance ID.public Long getMinSize()
public void setMinSize(Long MinSize)
MinSize
- The minimum number of instances. Value range: 0-2000.public Long getMaxSize()
public void setMaxSize(Long MaxSize)
MaxSize
- The maximum number of instances. Value range: 0-2000.public Long getDesiredCapacity()
public void setDesiredCapacity(Long DesiredCapacity)
DesiredCapacity
- The desired capacity. Its value must be greater than the minimum and smaller than the maximum.public Boolean getInheritInstanceTag()
public void setInheritInstanceTag(Boolean InheritInstanceTag)
InheritInstanceTag
- Whether to inherit the instance tag. Default value: FalseCopyright © 2024. All rights reserved.