public class UpdateAuthEventFeedbackRequest extends AmazonWebServiceRequest implements Serializable
Provides the feedback for an authentication event whether it was from a valid user or not. This feedback is used for improving the risk evaluation decision for the user pool as part of Amazon Cognito advanced security.
| Constructor and Description |
|---|
UpdateAuthEventFeedbackRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getEventId()
The event ID.
|
String |
getFeedbackToken()
The feedback token.
|
String |
getFeedbackValue()
The authentication event feedback value.
|
String |
getUsername()
The user pool username.
|
String |
getUserPoolId()
The user pool ID.
|
int |
hashCode() |
void |
setEventId(String eventId)
The event ID.
|
void |
setFeedbackToken(String feedbackToken)
The feedback token.
|
void |
setFeedbackValue(FeedbackValueType feedbackValue)
The authentication event feedback value.
|
void |
setFeedbackValue(String feedbackValue)
The authentication event feedback value.
|
void |
setUsername(String username)
The user pool username.
|
void |
setUserPoolId(String userPoolId)
The user pool ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateAuthEventFeedbackRequest |
withEventId(String eventId)
The event ID.
|
UpdateAuthEventFeedbackRequest |
withFeedbackToken(String feedbackToken)
The feedback token.
|
UpdateAuthEventFeedbackRequest |
withFeedbackValue(FeedbackValueType feedbackValue)
The authentication event feedback value.
|
UpdateAuthEventFeedbackRequest |
withFeedbackValue(String feedbackValue)
The authentication event feedback value.
|
UpdateAuthEventFeedbackRequest |
withUsername(String username)
The user pool username.
|
UpdateAuthEventFeedbackRequest |
withUserPoolId(String userPoolId)
The user pool ID.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic 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 UpdateAuthEventFeedbackRequest 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.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
The user pool username.
public void setUsername(String username)
The user pool username.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
username - The user pool username.
public UpdateAuthEventFeedbackRequest withUsername(String username)
The user pool username.
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.
public String getEventId()
The event ID.
Constraints:
Length: 1 - 50
Pattern: [\w+-]+
The event ID.
public void setEventId(String eventId)
The event ID.
Constraints:
Length: 1 - 50
Pattern: [\w+-]+
eventId - The event ID.
public UpdateAuthEventFeedbackRequest withEventId(String eventId)
The event ID.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 50
Pattern: [\w+-]+
eventId - The event ID.
public String getFeedbackToken()
The feedback token.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
The feedback token.
public void setFeedbackToken(String feedbackToken)
The feedback token.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
feedbackToken - The feedback token.
public UpdateAuthEventFeedbackRequest withFeedbackToken(String feedbackToken)
The feedback token.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
feedbackToken - The feedback token.
public String getFeedbackValue()
The authentication event feedback value.
Constraints:
Allowed Values: Valid, Invalid
The authentication event feedback value.
FeedbackValueTypepublic void setFeedbackValue(String feedbackValue)
The authentication event feedback value.
Constraints:
Allowed Values: Valid, Invalid
feedbackValue - The authentication event feedback value.
FeedbackValueTypepublic UpdateAuthEventFeedbackRequest withFeedbackValue(String feedbackValue)
The authentication event feedback value.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Valid, Invalid
feedbackValue - The authentication event feedback value.
FeedbackValueTypepublic void setFeedbackValue(FeedbackValueType feedbackValue)
The authentication event feedback value.
Constraints:
Allowed Values: Valid, Invalid
feedbackValue - The authentication event feedback value.
FeedbackValueTypepublic UpdateAuthEventFeedbackRequest withFeedbackValue(FeedbackValueType feedbackValue)
The authentication event feedback value.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Valid, Invalid
feedbackValue - The authentication event feedback value.
FeedbackValueTypepublic String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.