public class EventFeedbackType
extends java.lang.Object
implements java.io.Serializable
Specifies the event feedback type.
| Constructor and Description |
|---|
EventFeedbackType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getFeedbackDate()
The event feedback date.
|
java.lang.String |
getFeedbackValue()
The authentication event feedback value.
|
java.lang.String |
getProvider()
The provider.
|
int |
hashCode() |
void |
setFeedbackDate(java.util.Date feedbackDate)
The event feedback date.
|
void |
setFeedbackValue(FeedbackValueType feedbackValue)
The authentication event feedback value.
|
void |
setFeedbackValue(java.lang.String feedbackValue)
The authentication event feedback value.
|
void |
setProvider(java.lang.String provider)
The provider.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EventFeedbackType |
withFeedbackDate(java.util.Date feedbackDate)
The event feedback date.
|
EventFeedbackType |
withFeedbackValue(FeedbackValueType feedbackValue)
The authentication event feedback value.
|
EventFeedbackType |
withFeedbackValue(java.lang.String feedbackValue)
The authentication event feedback value.
|
EventFeedbackType |
withProvider(java.lang.String provider)
The provider.
|
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 EventFeedbackType 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 EventFeedbackType 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 getProvider()
The provider.
Constraints:
Length: 0 - 131072
The provider.
public void setProvider(java.lang.String provider)
The provider.
Constraints:
Length: 0 - 131072
provider - The provider.
public EventFeedbackType withProvider(java.lang.String provider)
The provider.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 131072
provider - The provider.
public java.util.Date getFeedbackDate()
The event feedback date.
The event feedback date.
public void setFeedbackDate(java.util.Date feedbackDate)
The event feedback date.
feedbackDate - The event feedback date.
public EventFeedbackType withFeedbackDate(java.util.Date feedbackDate)
The event feedback date.
Returns a reference to this object so that method calls can be chained together.
feedbackDate - The event feedback date.
public 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