public class AdminUpdateAuthEventFeedbackRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Provides feedback for an authentication event indicating if 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.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
| Constructor and Description |
|---|
AdminUpdateAuthEventFeedbackRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEventId()
The authentication event ID.
|
java.lang.String |
getFeedbackValue()
The authentication event feedback value.
|
java.lang.String |
getUsername()
The user pool username.
|
java.lang.String |
getUserPoolId()
The user pool ID.
|
int |
hashCode() |
void |
setEventId(java.lang.String eventId)
The authentication event ID.
|
void |
setFeedbackValue(FeedbackValueType feedbackValue)
The authentication event feedback value.
|
void |
setFeedbackValue(java.lang.String feedbackValue)
The authentication event feedback value.
|
void |
setUsername(java.lang.String username)
The user pool username.
|
void |
setUserPoolId(java.lang.String userPoolId)
The user pool ID.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdminUpdateAuthEventFeedbackRequest |
withEventId(java.lang.String eventId)
The authentication event ID.
|
AdminUpdateAuthEventFeedbackRequest |
withFeedbackValue(FeedbackValueType feedbackValue)
The authentication event feedback value.
|
AdminUpdateAuthEventFeedbackRequest |
withFeedbackValue(java.lang.String feedbackValue)
The authentication event feedback value.
|
AdminUpdateAuthEventFeedbackRequest |
withUsername(java.lang.String username)
The user pool username.
|
AdminUpdateAuthEventFeedbackRequest |
withUserPoolId(java.lang.String userPoolId)
The user pool ID.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getUserPoolId()
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The user pool ID.
public void setUserPoolId(java.lang.String userPoolId)
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The user pool ID.
public AdminUpdateAuthEventFeedbackRequest withUserPoolId(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String getEventId()
The authentication event ID.
Constraints:
Length: 1 - 50
Pattern: [\w+-]+
The authentication event ID.
public void setEventId(java.lang.String eventId)
The authentication event ID.
Constraints:
Length: 1 - 50
Pattern: [\w+-]+
eventId - The authentication event ID.
public AdminUpdateAuthEventFeedbackRequest withEventId(java.lang.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 java.lang.String getFeedbackValue()
The authentication event feedback value. When you provide a
FeedbackValue value of valid, you tell Amazon
Cognito that you trust a user session where Amazon Cognito has evaluated
some level of risk. When you provide a FeedbackValue value
of invalid, you tell Amazon Cognito that you don't trust a
user session, or you don't believe that Amazon Cognito evaluated a
high-enough risk level.
Constraints:
Allowed Values: Valid, Invalid
The authentication event feedback value. When you provide a
FeedbackValue value of valid, you tell
Amazon Cognito that you trust a user session where Amazon Cognito
has evaluated some level of risk. When you provide a
FeedbackValue value of invalid, you
tell Amazon Cognito that you don't trust a user session, or you
don't believe that Amazon Cognito evaluated a high-enough risk
level.
FeedbackValueTypepublic void setFeedbackValue(java.lang.String feedbackValue)
The authentication event feedback value. When you provide a
FeedbackValue value of valid, you tell Amazon
Cognito that you trust a user session where Amazon Cognito has evaluated
some level of risk. When you provide a FeedbackValue value
of invalid, you tell Amazon Cognito that you don't trust a
user session, or you don't believe that Amazon Cognito evaluated a
high-enough risk level.
Constraints:
Allowed Values: Valid, Invalid
feedbackValue -
The authentication event feedback value. When you provide a
FeedbackValue value of valid, you
tell Amazon Cognito that you trust a user session where Amazon
Cognito has evaluated some level of risk. When you provide a
FeedbackValue value of invalid, you
tell Amazon Cognito that you don't trust a user session, or
you don't believe that Amazon Cognito evaluated a high-enough
risk level.
FeedbackValueTypepublic AdminUpdateAuthEventFeedbackRequest withFeedbackValue(java.lang.String feedbackValue)
The authentication event feedback value. When you provide a
FeedbackValue value of valid, you tell Amazon
Cognito that you trust a user session where Amazon Cognito has evaluated
some level of risk. When you provide a FeedbackValue value
of invalid, you tell Amazon Cognito that you don't trust a
user session, or you don't believe that Amazon Cognito evaluated a
high-enough risk level.
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. When you provide a
FeedbackValue value of valid, you
tell Amazon Cognito that you trust a user session where Amazon
Cognito has evaluated some level of risk. When you provide a
FeedbackValue value of invalid, you
tell Amazon Cognito that you don't trust a user session, or
you don't believe that Amazon Cognito evaluated a high-enough
risk level.
FeedbackValueTypepublic void setFeedbackValue(FeedbackValueType feedbackValue)
The authentication event feedback value. When you provide a
FeedbackValue value of valid, you tell Amazon
Cognito that you trust a user session where Amazon Cognito has evaluated
some level of risk. When you provide a FeedbackValue value
of invalid, you tell Amazon Cognito that you don't trust a
user session, or you don't believe that Amazon Cognito evaluated a
high-enough risk level.
Constraints:
Allowed Values: Valid, Invalid
feedbackValue -
The authentication event feedback value. When you provide a
FeedbackValue value of valid, you
tell Amazon Cognito that you trust a user session where Amazon
Cognito has evaluated some level of risk. When you provide a
FeedbackValue value of invalid, you
tell Amazon Cognito that you don't trust a user session, or
you don't believe that Amazon Cognito evaluated a high-enough
risk level.
FeedbackValueTypepublic AdminUpdateAuthEventFeedbackRequest withFeedbackValue(FeedbackValueType feedbackValue)
The authentication event feedback value. When you provide a
FeedbackValue value of valid, you tell Amazon
Cognito that you trust a user session where Amazon Cognito has evaluated
some level of risk. When you provide a FeedbackValue value
of invalid, you tell Amazon Cognito that you don't trust a
user session, or you don't believe that Amazon Cognito evaluated a
high-enough risk level.
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. When you provide a
FeedbackValue value of valid, you
tell Amazon Cognito that you trust a user session where Amazon
Cognito has evaluated some level of risk. When you provide a
FeedbackValue value of invalid, you
tell Amazon Cognito that you don't trust a user session, or
you don't believe that Amazon Cognito evaluated a high-enough
risk level.
FeedbackValueTypepublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object