@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SessionContextAttributes extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the context in which temporary security credentials were issued to an entity.
Constructor and Description |
---|
SessionContextAttributes() |
Modifier and Type | Method and Description |
---|---|
SessionContextAttributes |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDate()
The date and time, in UTC and ISO 8601 format, when the credentials were issued.
|
Boolean |
getMfaAuthenticated()
Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.
|
int |
hashCode() |
Boolean |
isMfaAuthenticated()
Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationDate(Date creationDate)
The date and time, in UTC and ISO 8601 format, when the credentials were issued.
|
void |
setMfaAuthenticated(Boolean mfaAuthenticated)
Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.
|
String |
toString()
Returns a string representation of this object.
|
SessionContextAttributes |
withCreationDate(Date creationDate)
The date and time, in UTC and ISO 8601 format, when the credentials were issued.
|
SessionContextAttributes |
withMfaAuthenticated(Boolean mfaAuthenticated)
Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.
|
public void setCreationDate(Date creationDate)
The date and time, in UTC and ISO 8601 format, when the credentials were issued.
creationDate
- The date and time, in UTC and ISO 8601 format, when the credentials were issued.public Date getCreationDate()
The date and time, in UTC and ISO 8601 format, when the credentials were issued.
public SessionContextAttributes withCreationDate(Date creationDate)
The date and time, in UTC and ISO 8601 format, when the credentials were issued.
creationDate
- The date and time, in UTC and ISO 8601 format, when the credentials were issued.public void setMfaAuthenticated(Boolean mfaAuthenticated)
Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.
mfaAuthenticated
- Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.public Boolean getMfaAuthenticated()
Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.
public SessionContextAttributes withMfaAuthenticated(Boolean mfaAuthenticated)
Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.
mfaAuthenticated
- Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.public Boolean isMfaAuthenticated()
Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.
public String toString()
toString
in class Object
Object.toString()
public SessionContextAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.