public class DescribeImageAutoAuthorizedRuleResponse extends AbstractModel
| Constructor and Description | 
|---|
| DescribeImageAutoAuthorizedRuleResponse() | 
| DescribeImageAutoAuthorizedRuleResponse(DescribeImageAutoAuthorizedRuleResponse 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 | 
|---|---|
| Long | getHostCount()Get Number of servers when the scope is `MANUAL`
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getIsEnabled()Get Whether the rule takes effect. | 
| Long | getMaxDailyCount()Get Maximum number of image licenses per day. | 
| String | getRangeType()Get Scope. | 
| String | getRequestId()Get The unique request ID, which is returned for each request. | 
| Long | getRuleId()Get Rule ID, which is `0` if not specified. | 
| void | setHostCount(Long HostCount)Set Number of servers when the scope is `MANUAL`
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setIsEnabled(Long IsEnabled)Set Whether the rule takes effect. | 
| void | setMaxDailyCount(Long MaxDailyCount)Set Maximum number of image licenses per day. | 
| void | setRangeType(String RangeType)Set Scope. | 
| void | setRequestId(String RequestId)Set The unique request ID, which is returned for each request. | 
| void | setRuleId(Long RuleId)Set Rule ID, which is `0` if not specified. | 
| 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, toJsonStringpublic DescribeImageAutoAuthorizedRuleResponse()
public DescribeImageAutoAuthorizedRuleResponse(DescribeImageAutoAuthorizedRuleResponse source)
public Long getIsEnabled()
public void setIsEnabled(Long IsEnabled)
IsEnabled - Whether the rule takes effect. Valid values: `0` (no); `1` (yes).public String getRangeType()
public void setRangeType(String RangeType)
RangeType - Scope. Valid values: `MANUAL` (specified servers); `ALL` (all images).
Note: This field may return null, indicating that no valid values can be obtained.public Long getHostCount()
public void setHostCount(Long HostCount)
HostCount - Number of servers when the scope is `MANUAL`
Note: This field may return null, indicating that no valid values can be obtained.public Long getMaxDailyCount()
public void setMaxDailyCount(Long MaxDailyCount)
MaxDailyCount - Maximum number of image licenses per day. `0`: Unlimited.
Note: This field may return null, indicating that no valid values can be obtained.public Long getRuleId()
public void setRuleId(Long RuleId)
RuleId - Rule ID, which is `0` if not specified.
Note: This field may return null, indicating that no valid values can be obtained.public String getRequestId()
public void setRequestId(String RequestId)
RequestId - The unique request ID, which is returned for each request. RequestId is required for locating a problem.Copyright © 2023. All rights reserved.