public class DescribeEventsRequest extends AbstractModel
| 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 End timestamp in seconds (the time range for query is less than 30 days). | 
| Long | getIsReturnLocation()Get Whether to return the IP location. | 
| LookupAttribute[] | getLookupAttributes()Get Search criterion. | 
| Long | getMaxResults()Get Max number of returned logs (up to 50). | 
| Long | getNextToken()Get Credential for viewing more logs. | 
| Long | getStartTime()Get Start timestamp in seconds (cannot be 90 days after the current time). | 
| void | setEndTime(Long EndTime)Set End timestamp in seconds (the time range for query is less than 30 days). | 
| void | setIsReturnLocation(Long IsReturnLocation)Set Whether to return the IP location. | 
| void | setLookupAttributes(LookupAttribute[] LookupAttributes)Set Search criterion. | 
| void | setMaxResults(Long MaxResults)Set Max number of returned logs (up to 50). | 
| void | setNextToken(Long NextToken)Set Credential for viewing more logs. | 
| void | setStartTime(Long StartTime)Set Start timestamp in seconds (cannot be 90 days after the current time). | 
| 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 DescribeEventsRequest()
public DescribeEventsRequest(DescribeEventsRequest source)
public Long getStartTime()
public void setStartTime(Long StartTime)
StartTime - Start timestamp in seconds (cannot be 90 days after the current time).public Long getEndTime()
public void setEndTime(Long EndTime)
EndTime - End timestamp in seconds (the time range for query is less than 30 days).public Long getNextToken()
public void setNextToken(Long NextToken)
NextToken - Credential for viewing more logs.public Long getMaxResults()
public void setMaxResults(Long MaxResults)
MaxResults - Max number of returned logs (up to 50).public LookupAttribute[] getLookupAttributes()
public void setLookupAttributes(LookupAttribute[] LookupAttributes)
LookupAttributes - Search criterion. Valid values: RequestId, EventName, ActionType (write/read), PrincipalId (sub-account), ResourceType, ResourceName, AccessKeyId, SensitiveAction, ApiErrorCode, and CamErrorCode.public Long getIsReturnLocation()
public void setIsReturnLocation(Long IsReturnLocation)
IsReturnLocation - Whether to return the IP location. `1`: yes, `0`: no.Copyright © 2022. All rights reserved.