@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuthEventType extends Object implements Serializable, Cloneable, StructuredPojo
The authentication event type.
Constructor and Description |
---|
AuthEventType() |
Modifier and Type | Method and Description |
---|---|
AuthEventType |
clone() |
boolean |
equals(Object obj) |
List<ChallengeResponseType> |
getChallengeResponses()
The challenge responses.
|
Date |
getCreationDate()
The date and time when the item was created.
|
EventContextDataType |
getEventContextData()
The user context data captured at the time of an event request.
|
EventFeedbackType |
getEventFeedback()
A flag specifying the user feedback captured at the time of an event request is good or bad.
|
String |
getEventId()
The event ID.
|
String |
getEventResponse()
The event response.
|
EventRiskType |
getEventRisk()
The event risk.
|
String |
getEventType()
The event type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setChallengeResponses(Collection<ChallengeResponseType> challengeResponses)
The challenge responses.
|
void |
setCreationDate(Date creationDate)
The date and time when the item was created.
|
void |
setEventContextData(EventContextDataType eventContextData)
The user context data captured at the time of an event request.
|
void |
setEventFeedback(EventFeedbackType eventFeedback)
A flag specifying the user feedback captured at the time of an event request is good or bad.
|
void |
setEventId(String eventId)
The event ID.
|
void |
setEventResponse(String eventResponse)
The event response.
|
void |
setEventRisk(EventRiskType eventRisk)
The event risk.
|
void |
setEventType(String eventType)
The event type.
|
String |
toString()
Returns a string representation of this object.
|
AuthEventType |
withChallengeResponses(ChallengeResponseType... challengeResponses)
The challenge responses.
|
AuthEventType |
withChallengeResponses(Collection<ChallengeResponseType> challengeResponses)
The challenge responses.
|
AuthEventType |
withCreationDate(Date creationDate)
The date and time when the item was created.
|
AuthEventType |
withEventContextData(EventContextDataType eventContextData)
The user context data captured at the time of an event request.
|
AuthEventType |
withEventFeedback(EventFeedbackType eventFeedback)
A flag specifying the user feedback captured at the time of an event request is good or bad.
|
AuthEventType |
withEventId(String eventId)
The event ID.
|
AuthEventType |
withEventResponse(EventResponseType eventResponse)
The event response.
|
AuthEventType |
withEventResponse(String eventResponse)
The event response.
|
AuthEventType |
withEventRisk(EventRiskType eventRisk)
The event risk.
|
AuthEventType |
withEventType(EventType eventType)
The event type.
|
AuthEventType |
withEventType(String eventType)
The event type.
|
public void setEventId(String eventId)
The event ID.
eventId
- The event ID.public String getEventId()
The event ID.
public AuthEventType withEventId(String eventId)
The event ID.
eventId
- The event ID.public void setEventType(String eventType)
The event type.
eventType
- The event type.EventType
public String getEventType()
The event type.
EventType
public AuthEventType withEventType(String eventType)
The event type.
eventType
- The event type.EventType
public AuthEventType withEventType(EventType eventType)
The event type.
eventType
- The event type.EventType
public void setCreationDate(Date creationDate)
The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format.
Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date
object.
creationDate
- The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time
format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java
Date
object.public Date getCreationDate()
The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format.
Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date
object.
Date
object.public AuthEventType withCreationDate(Date creationDate)
The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format.
Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date
object.
creationDate
- The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time
format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java
Date
object.public void setEventResponse(String eventResponse)
The event response.
eventResponse
- The event response.EventResponseType
public String getEventResponse()
The event response.
EventResponseType
public AuthEventType withEventResponse(String eventResponse)
The event response.
eventResponse
- The event response.EventResponseType
public AuthEventType withEventResponse(EventResponseType eventResponse)
The event response.
eventResponse
- The event response.EventResponseType
public void setEventRisk(EventRiskType eventRisk)
The event risk.
eventRisk
- The event risk.public EventRiskType getEventRisk()
The event risk.
public AuthEventType withEventRisk(EventRiskType eventRisk)
The event risk.
eventRisk
- The event risk.public List<ChallengeResponseType> getChallengeResponses()
The challenge responses.
public void setChallengeResponses(Collection<ChallengeResponseType> challengeResponses)
The challenge responses.
challengeResponses
- The challenge responses.public AuthEventType withChallengeResponses(ChallengeResponseType... challengeResponses)
The challenge responses.
NOTE: This method appends the values to the existing list (if any). Use
setChallengeResponses(java.util.Collection)
or withChallengeResponses(java.util.Collection)
if
you want to override the existing values.
challengeResponses
- The challenge responses.public AuthEventType withChallengeResponses(Collection<ChallengeResponseType> challengeResponses)
The challenge responses.
challengeResponses
- The challenge responses.public void setEventContextData(EventContextDataType eventContextData)
The user context data captured at the time of an event request. This value provides additional information about the client from which event the request is received.
eventContextData
- The user context data captured at the time of an event request. This value provides additional information
about the client from which event the request is received.public EventContextDataType getEventContextData()
The user context data captured at the time of an event request. This value provides additional information about the client from which event the request is received.
public AuthEventType withEventContextData(EventContextDataType eventContextData)
The user context data captured at the time of an event request. This value provides additional information about the client from which event the request is received.
eventContextData
- The user context data captured at the time of an event request. This value provides additional information
about the client from which event the request is received.public void setEventFeedback(EventFeedbackType eventFeedback)
A flag specifying the user feedback captured at the time of an event request is good or bad.
eventFeedback
- A flag specifying the user feedback captured at the time of an event request is good or bad.public EventFeedbackType getEventFeedback()
A flag specifying the user feedback captured at the time of an event request is good or bad.
public AuthEventType withEventFeedback(EventFeedbackType eventFeedback)
A flag specifying the user feedback captured at the time of an event request is good or bad.
eventFeedback
- A flag specifying the user feedback captured at the time of an event request is good or bad.public String toString()
toString
in class Object
Object.toString()
public AuthEventType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.