public static final class DescribeOpEntitiesResponseBody.OpEntities.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeOpEntitiesResponseBody.OpEntities |
build() |
DescribeOpEntitiesResponseBody.OpEntities.Builder |
entityObject(String entityObject)
The operation object.
|
DescribeOpEntitiesResponseBody.OpEntities.Builder |
entityType(Integer entityType)
The type of the operation object.
|
DescribeOpEntitiesResponseBody.OpEntities.Builder |
gmtCreate(Long gmtCreate)
The time when the operation was performed.
|
DescribeOpEntitiesResponseBody.OpEntities.Builder |
opAccount(String opAccount)
The ID of the Alibaba Cloud account that is used to perform the operation.
|
DescribeOpEntitiesResponseBody.OpEntities.Builder |
opAction(Integer opAction)
The type of the operation.
|
DescribeOpEntitiesResponseBody.OpEntities.Builder |
opDesc(String opDesc)
The details of the operation.
|
public DescribeOpEntitiesResponseBody.OpEntities.Builder entityObject(String entityObject)
The operation object.
example:203...132
public DescribeOpEntitiesResponseBody.OpEntities.Builder entityType(Integer entityType)
The type of the operation object. Valid values:
1
public DescribeOpEntitiesResponseBody.OpEntities.Builder gmtCreate(Long gmtCreate)
The time when the operation was performed. The value is a UNIX timestamp. Units: milliseconds.
example:1584451769000
public DescribeOpEntitiesResponseBody.OpEntities.Builder opAccount(String opAccount)
The ID of the Alibaba Cloud account that is used to perform the operation.
example:128965410602****
public DescribeOpEntitiesResponseBody.OpEntities.Builder opAction(Integer opAction)
The type of the operation. Valid values:
9
public DescribeOpEntitiesResponseBody.OpEntities.Builder opDesc(String opDesc)
The details of the operation. This parameter is a JSON string. The string contains the following fields:
Both newEntity and oldEntity are JSON strings. The returned parameters vary based on OpAction.
If the value of OpAction is 1, 12, or 13, the following parameter is returned:
elasticBandwidth: the burstable protection bandwidth. This parameter is of the integer type. Unit: Gbit/s.
Example: {"newEntity":{"elasticBandwidth":300},"oldEntity":{"elasticBandwidth":300}}
If the value of OpAction is 5, the following parameters are returned:
bandwidth: the burstable protection bandwidth. The parameter is of the integer type. Unit: Gbit/s.
count: the number of Anti-DDoS plans. This parameter is of the integer type.
deductCount: the number of used Anti-DDoS plans. This parameter is of the integer type.
expireTime: the expiration time of the Anti-DDoS plans. This parameter is of the long type. The value is a UNIX timestamp. Units: milliseconds.
instanceId: the ID of the Anti-DDoS Proxy instance. This parameter is of the string type.
peakFlow: the peak throughput on the Anti-DDoS Proxy instance. This parameter is of the integer type. Unit: bit/s.
Example: {"newEntity":{"bandwidth":100,"count":4,"deductCount":1,"expireTime":1616299196000,"instanceId":"ddoscoo-cn-v641kpmq****","peakFlow":751427000}}
If the value of OpAction is 8, the following parameter is returned:
instanceId: the IDs of the ECS instances whose IP addresses are changed. This parameter is of the string type.
Example: {"newEntity":{"instanceId":"i-wz9h6nc313zptbqn****"}}
If the value of OpAction is 9, the following parameter is returned:
actionMethod: the operation method. This parameter is of the string type. Valid value: undo, which indicates that you deactivated blackhole filtering.
Example: {"newEntity":{"actionMethod":"undo"}}
If the value of OpAction is 10, the following parameters are returned:
actionMethod: the operation method. This parameter is of the string type. Valid values:
lines: the Internet service provider (ISP) line from which the traffic is blocked. This parameter is of the array type. Valid values:
Example: {"newEntity":{"actionMethod":"undo","lines":["ct"]}}
If the value of OpAction is 11, no parameter is returned, and the description is empty.
example:{"newEntity":{"actionMethod":"undo"}}
public DescribeOpEntitiesResponseBody.OpEntities build()
Copyright © 2026. All rights reserved.