public class AdminUpdateAuthEventFeedbackRequest extends AmazonWebServiceRequest implements Serializable
Provides feedback for an authentication event as to whether it was from a valid user. This feedback is used for improving the risk evaluation decision for the user pool as part of Amazon Cognito advanced security.
| Constructor and Description |
|---|
AdminUpdateAuthEventFeedbackRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getEventId()
The authentication event ID.
|
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 authentication event ID.
|
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.
|
AdminUpdateAuthEventFeedbackRequest |
withEventId(String eventId)
The authentication event ID.
|
AdminUpdateAuthEventFeedbackRequest |
withFeedbackValue(FeedbackValueType feedbackValue)
The authentication event feedback value.
|
AdminUpdateAuthEventFeedbackRequest |
withFeedbackValue(String feedbackValue)
The authentication event feedback value.
|
AdminUpdateAuthEventFeedbackRequest |
withUsername(String username)
The user pool username.
|
AdminUpdateAuthEventFeedbackRequest |
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 AdminUpdateAuthEventFeedbackRequest 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 AdminUpdateAuthEventFeedbackRequest 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 authentication event ID.
Constraints:
Length: 1 - 50
Pattern: [\w+-]+
The authentication event ID.
public void setEventId(String eventId)
The authentication event ID.
Constraints:
Length: 1 - 50
Pattern: [\w+-]+
eventId - The authentication event ID.
public AdminUpdateAuthEventFeedbackRequest withEventId(String eventId)
The authentication event ID.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 50
Pattern: [\w+-]+
eventId - The authentication event ID.
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 AdminUpdateAuthEventFeedbackRequest 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 AdminUpdateAuthEventFeedbackRequest 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.