Class SetInstancesProtectionRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.as.v20180419.models.SetInstancesProtectionRequest
-
public class SetInstancesProtectionRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAutoScalingGroupId()
Get 伸缩组ID。String[]
getInstanceIds()
Get 实例ID。Boolean
getProtectedFromScaleIn()
Get 实例是否需要设置保护。void
setAutoScalingGroupId(String AutoScalingGroupId)
Set 伸缩组ID。void
setInstanceIds(String[] InstanceIds)
Set 实例ID。void
setProtectedFromScaleIn(Boolean ProtectedFromScaleIn)
Set 实例是否需要设置保护。void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
SetInstancesProtectionRequest
public SetInstancesProtectionRequest()
-
SetInstancesProtectionRequest
public 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.
-
-
Method Detail
-
getAutoScalingGroupId
public String getAutoScalingGroupId()
Get 伸缩组ID。- Returns:
- AutoScalingGroupId 伸缩组ID。
-
setAutoScalingGroupId
public void setAutoScalingGroupId(String AutoScalingGroupId)
Set 伸缩组ID。- Parameters:
AutoScalingGroupId
- 伸缩组ID。
-
getInstanceIds
public String[] getInstanceIds()
Get 实例ID。- Returns:
- InstanceIds 实例ID。
-
setInstanceIds
public void setInstanceIds(String[] InstanceIds)
Set 实例ID。- Parameters:
InstanceIds
- 实例ID。
-
getProtectedFromScaleIn
public Boolean getProtectedFromScaleIn()
Get 实例是否需要设置保护。- Returns:
- ProtectedFromScaleIn 实例是否需要设置保护。
-
setProtectedFromScaleIn
public void setProtectedFromScaleIn(Boolean ProtectedFromScaleIn)
Set 实例是否需要设置保护。- Parameters:
ProtectedFromScaleIn
- 实例是否需要设置保护。
-
-