public static final class DescribeAntiBruteForceRulesResponseBody.Rules.Builder extends Object
public DescribeAntiBruteForceRulesResponseBody.Rules.Builder createTimestamp(Long createTimestamp)
防暴力破解规则创建时间戳。单位:毫秒。
example:1669800181000
public DescribeAntiBruteForceRulesResponseBody.Rules.Builder defaultRule(Boolean defaultRule)
Indicates whether the defense rule is the default rule. Valid values:
example:The default rule takes effect on all servers that are not protected by defense rules against brute-force attacks.
true
public DescribeAntiBruteForceRulesResponseBody.Rules.Builder enableSmartRule(Boolean enableSmartRule)
This parameter is deprecated.
example:false
public DescribeAntiBruteForceRulesResponseBody.Rules.Builder failCount(Integer failCount)
The threshold of logon failures that you specify.
example:15
public DescribeAntiBruteForceRulesResponseBody.Rules.Builder forbiddenTime(Integer forbiddenTime)
The period of time during which logons from an account are not allowed. Unit: minutes.
example:360
public DescribeAntiBruteForceRulesResponseBody.Rules.Builder id(Long id)
The ID of the defense rule.
example:1629
public DescribeAntiBruteForceRulesResponseBody.Rules.Builder machineCount(Integer machineCount)
The number of servers to which the defense rule is applied.
example:3
public DescribeAntiBruteForceRulesResponseBody.Rules.Builder name(String name)
The name of the defense rule.
example:AntiBruteForceRule01
public DescribeAntiBruteForceRulesResponseBody.Rules.Builder protocolType(DescribeAntiBruteForceRulesResponseBody.ProtocolType protocolType)
The types of protocols that the brute force cracking rule supports to intercept.
public DescribeAntiBruteForceRulesResponseBody.Rules.Builder span(Integer span)
The period of time during which logon failures from an account are measured. Unit: minutes. If Span is set to 10, the defense rule takes effect when the logon failures measured within 10 minutes reaches the specified threshold. The IP address of attackers cannot be used to log on to the server in the specified period of time.
example:10
public DescribeAntiBruteForceRulesResponseBody.Rules.Builder uuidList(List<String> uuidList)
An array consisting of the UUIDs of servers to which the defense rule is applied.
public DescribeAntiBruteForceRulesResponseBody.Rules build()
Copyright © 2026. All rights reserved.