public class SetInstancesProtectionRequest extends AbstractModel
Constructor and Description |
---|
SetInstancesProtectionRequest() |
SetInstancesProtectionRequest(SetInstancesProtectionRequest 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 |
getAutoScalingGroupId()
Get Auto scaling group ID.
|
String[] |
getInstanceIds()
Get Instance ID.
|
Boolean |
getProtectedFromScaleIn()
Get Whether to enable scale-in protection for this instance
|
void |
setAutoScalingGroupId(String AutoScalingGroupId)
Set Auto scaling group ID.
|
void |
setInstanceIds(String[] InstanceIds)
Set Instance ID.
|
void |
setProtectedFromScaleIn(Boolean ProtectedFromScaleIn)
Set Whether to enable scale-in protection for this instance
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public SetInstancesProtectionRequest()
public SetInstancesProtectionRequest(SetInstancesProtectionRequest source)
public String getAutoScalingGroupId()
public void setAutoScalingGroupId(String AutoScalingGroupId)
AutoScalingGroupId
- Auto scaling group ID.public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- Instance ID.public Boolean getProtectedFromScaleIn()
public void setProtectedFromScaleIn(Boolean ProtectedFromScaleIn)
ProtectedFromScaleIn
- Whether to enable scale-in protection for this instanceCopyright © 2023. All rights reserved.