public class DescribeEventsRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DescribeEventsRequest() | 
| DescribeEventsRequest(DescribeEventsRequest 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 | getEndTime()Get 结束时间戳(单位秒,查询时间跨度小于 30 天) | 
| Long | getIsReturnLocation()Get 是否返回 IP 归属地(1 返回,0 不返回) | 
| LookupAttribute[] | getLookupAttributes()Get 检索条件(目前支持 RequestId:请求 ID、EventName:事件名称、ActionType:操作类型(Write:写;Read:读)、PrincipalId:子账号、ResourceType:资源类型、ResourceId:资源Id、ResourceName:资源名称、AccessKeyId:密钥 ID、SensitiveAction:是否敏感操作、ApiErrorCode:API 错误码、CamErrorCode:CAM 错误码、Tags:标签(AttributeValue格式:[{"key":"*","value":"*"}])备注:检索的各个条件间是与的关系,EventName传多个值内部是或的关系) | 
| Long | getMaxResults()Get 返回日志的最大条数(最大 50 条) | 
| Long | getNextToken()Get 查看更多日志的凭证 | 
| Long | getStartTime()Get 起始时间戳(单位秒,不超过当前时间 90 天) | 
| void | setEndTime(Long EndTime)Set 结束时间戳(单位秒,查询时间跨度小于 30 天) | 
| void | setIsReturnLocation(Long IsReturnLocation)Set 是否返回 IP 归属地(1 返回,0 不返回) | 
| void | setLookupAttributes(LookupAttribute[] LookupAttributes)Set 检索条件(目前支持 RequestId:请求 ID、EventName:事件名称、ActionType:操作类型(Write:写;Read:读)、PrincipalId:子账号、ResourceType:资源类型、ResourceId:资源Id、ResourceName:资源名称、AccessKeyId:密钥 ID、SensitiveAction:是否敏感操作、ApiErrorCode:API 错误码、CamErrorCode:CAM 错误码、Tags:标签(AttributeValue格式:[{"key":"*","value":"*"}])备注:检索的各个条件间是与的关系,EventName传多个值内部是或的关系) | 
| void | setMaxResults(Long MaxResults)Set 返回日志的最大条数(最大 50 条) | 
| void | setNextToken(Long NextToken)Set 查看更多日志的凭证 | 
| void | setStartTime(Long StartTime)Set 起始时间戳(单位秒,不超过当前时间 90 天) | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic DescribeEventsRequest()
public DescribeEventsRequest(DescribeEventsRequest source)
public Long getStartTime()
public void setStartTime(Long StartTime)
StartTime - 起始时间戳(单位秒,不超过当前时间 90 天)public Long getEndTime()
public void setEndTime(Long EndTime)
EndTime - 结束时间戳(单位秒,查询时间跨度小于 30 天)public Long getNextToken()
public void setNextToken(Long NextToken)
NextToken - 查看更多日志的凭证public Long getMaxResults()
public void setMaxResults(Long MaxResults)
MaxResults - 返回日志的最大条数(最大 50 条)public LookupAttribute[] getLookupAttributes()
public void setLookupAttributes(LookupAttribute[] LookupAttributes)
LookupAttributes - 检索条件(目前支持 RequestId:请求 ID、EventName:事件名称、ActionType:操作类型(Write:写;Read:读)、PrincipalId:子账号、ResourceType:资源类型、ResourceId:资源Id、ResourceName:资源名称、AccessKeyId:密钥 ID、SensitiveAction:是否敏感操作、ApiErrorCode:API 错误码、CamErrorCode:CAM 错误码、Tags:标签(AttributeValue格式:[{"key":"*","value":"*"}])备注:检索的各个条件间是与的关系,EventName传多个值内部是或的关系)public Long getIsReturnLocation()
public void setIsReturnLocation(Long IsReturnLocation)
IsReturnLocation - 是否返回 IP 归属地(1 返回,0 不返回)Copyright © 2025. All rights reserved.