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>
The feedback that your application submitted to an advanced security features event log, as displayed in an AdminListUserAuthEvents response.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEventFeedbackType.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EventFeedbackType.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstantfeedbackDate()The date that you or your user submitted the feedback.FeedbackValueTypefeedbackValue()The authentication event feedback value.StringfeedbackValueAsString()The authentication event feedback value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringprovider()The submitter of the event feedback.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends EventFeedbackType.Builder>serializableBuilderClass()EventFeedbackType.BuildertoBuilder()StringtoString()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
FeedbackValuevalue ofvalid, you tell Amazon Cognito that you trust a user session where Amazon Cognito has evaluated some level of risk. When you provide aFeedbackValuevalue 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,
feedbackValuewill 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
FeedbackValuevalue ofvalid, you tell Amazon Cognito that you trust a user session where Amazon Cognito has evaluated some level of risk. When you provide aFeedbackValuevalue 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
FeedbackValuevalue ofvalid, you tell Amazon Cognito that you trust a user session where Amazon Cognito has evaluated some level of risk. When you provide aFeedbackValuevalue 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,
feedbackValuewill 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
FeedbackValuevalue ofvalid, you tell Amazon Cognito that you trust a user session where Amazon Cognito has evaluated some level of risk. When you provide aFeedbackValuevalue 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 submitter of the event feedback. For example, if you submit event feedback in the Amazon Cognito console, this value is
Admin.- Returns:
- The submitter of the event feedback. For example, if you submit event feedback in the Amazon Cognito
console, this value is
Admin.
-
feedbackDate
public final Instant feedbackDate()
The date that you or your user submitted the feedback.
- Returns:
- The date that you or your user submitted the feedback.
-
toBuilder
public EventFeedbackType.Builder toBuilder()
- Specified by:
toBuilderin 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:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-