Class EventFeedbackType
- java.lang.Object
-
- software.amazon.awssdk.services.cognitoidentityprovider.model.EventFeedbackType
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<EventFeedbackType.Builder,EventFeedbackType>
@Generated("software.amazon.awssdk:codegen") public final class EventFeedbackType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventFeedbackType.Builder,EventFeedbackType>
Specifies the event feedback type.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
EventFeedbackType.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EventFeedbackType.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
Instant
feedbackDate()
The event feedback date.FeedbackValueType
feedbackValue()
The authentication event feedback value.String
feedbackValueAsString()
The authentication event feedback value.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
provider()
The provider.List<SdkField<?>>
sdkFields()
static Class<? extends EventFeedbackType.Builder>
serializableBuilderClass()
EventFeedbackType.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
feedbackValue
public final FeedbackValueType feedbackValue()
The authentication event feedback value. When you provide a
FeedbackValue
value ofvalid
, you tell Amazon Cognito that you trust a user session where Amazon Cognito has evaluated some level of risk. When you provide aFeedbackValue
value ofinvalid
, 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.If the service returns an enum value that is not available in the current SDK version,
feedbackValue
will returnFeedbackValueType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromfeedbackValueAsString()
.- Returns:
- The authentication event feedback value. When you provide a
FeedbackValue
value ofvalid
, you tell Amazon Cognito that you trust a user session where Amazon Cognito has evaluated some level of risk. When you provide aFeedbackValue
value ofinvalid
, 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. - See Also:
FeedbackValueType
-
feedbackValueAsString
public final String feedbackValueAsString()
The authentication event feedback value. When you provide a
FeedbackValue
value ofvalid
, you tell Amazon Cognito that you trust a user session where Amazon Cognito has evaluated some level of risk. When you provide aFeedbackValue
value ofinvalid
, 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.If the service returns an enum value that is not available in the current SDK version,
feedbackValue
will returnFeedbackValueType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromfeedbackValueAsString()
.- Returns:
- The authentication event feedback value. When you provide a
FeedbackValue
value ofvalid
, you tell Amazon Cognito that you trust a user session where Amazon Cognito has evaluated some level of risk. When you provide aFeedbackValue
value ofinvalid
, 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. - See Also:
FeedbackValueType
-
provider
public final String provider()
The provider.
- Returns:
- The provider.
-
feedbackDate
public final Instant feedbackDate()
The event feedback date.
- Returns:
- The event feedback date.
-
toBuilder
public EventFeedbackType.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<EventFeedbackType.Builder,EventFeedbackType>
-
builder
public static EventFeedbackType.Builder builder()
-
serializableBuilderClass
public static Class<? extends EventFeedbackType.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-