public class AdminListUserAuthEventsRequest extends AmazonWebServiceRequest implements Serializable
Lists a history of user activity and any risks detected as part of Amazon Cognito advanced security.
Constructor and Description |
---|
AdminListUserAuthEventsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of authentication events to return.
|
String |
getNextToken()
A pagination token.
|
String |
getUsername()
The user pool username or an alias.
|
String |
getUserPoolId()
The user pool ID.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of authentication events to return.
|
void |
setNextToken(String nextToken)
A pagination token.
|
void |
setUsername(String username)
The user pool username or an alias.
|
void |
setUserPoolId(String userPoolId)
The user pool ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdminListUserAuthEventsRequest |
withMaxResults(Integer maxResults)
The maximum number of authentication events to return.
|
AdminListUserAuthEventsRequest |
withNextToken(String nextToken)
A pagination token.
|
AdminListUserAuthEventsRequest |
withUsername(String username)
The user pool username or an alias.
|
AdminListUserAuthEventsRequest |
withUserPoolId(String userPoolId)
The user pool ID.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getUserPoolId()
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The user pool ID.
public void setUserPoolId(String userPoolId)
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId
- The user pool ID.
public AdminListUserAuthEventsRequest withUserPoolId(String userPoolId)
The user pool ID.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId
- The user pool ID.
public String getUsername()
The user pool username or an alias.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
The user pool username or an alias.
public void setUsername(String username)
The user pool username or an alias.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
username
- The user pool username or an alias.
public AdminListUserAuthEventsRequest withUsername(String username)
The user pool username or an alias.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
username
- The user pool username or an alias.
public Integer getMaxResults()
The maximum number of authentication events to return.
Constraints:
Range: 0 - 60
The maximum number of authentication events to return.
public void setMaxResults(Integer maxResults)
The maximum number of authentication events to return.
Constraints:
Range: 0 - 60
maxResults
- The maximum number of authentication events to return.
public AdminListUserAuthEventsRequest withMaxResults(Integer maxResults)
The maximum number of authentication events to return.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 60
maxResults
- The maximum number of authentication events to return.
public String getNextToken()
A pagination token.
Constraints:
Length: 1 -
Pattern: [\S]+
A pagination token.
public void setNextToken(String nextToken)
A pagination token.
Constraints:
Length: 1 -
Pattern: [\S]+
nextToken
- A pagination token.
public AdminListUserAuthEventsRequest withNextToken(String nextToken)
A pagination token.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
Pattern: [\S]+
nextToken
- A pagination token.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2020. All rights reserved.