@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SessionContext extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a session that was created for an entity who performed an action by using temporary security credentials.
| Constructor and Description |
|---|
SessionContext() |
| Modifier and Type | Method and Description |
|---|---|
SessionContext |
clone() |
boolean |
equals(Object obj) |
SessionContextAttributes |
getAttributes()
The date and time when the credentials were issued, and whether the credentials were authenticated with a
multi-factor authentication (MFA) device.
|
SessionIssuer |
getSessionIssuer()
The source and type of credentials that the entity obtained.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAttributes(SessionContextAttributes attributes)
The date and time when the credentials were issued, and whether the credentials were authenticated with a
multi-factor authentication (MFA) device.
|
void |
setSessionIssuer(SessionIssuer sessionIssuer)
The source and type of credentials that the entity obtained.
|
String |
toString()
Returns a string representation of this object.
|
SessionContext |
withAttributes(SessionContextAttributes attributes)
The date and time when the credentials were issued, and whether the credentials were authenticated with a
multi-factor authentication (MFA) device.
|
SessionContext |
withSessionIssuer(SessionIssuer sessionIssuer)
The source and type of credentials that the entity obtained.
|
public void setAttributes(SessionContextAttributes attributes)
The date and time when the credentials were issued, and whether the credentials were authenticated with a multi-factor authentication (MFA) device.
attributes - The date and time when the credentials were issued, and whether the credentials were authenticated with a
multi-factor authentication (MFA) device.public SessionContextAttributes getAttributes()
The date and time when the credentials were issued, and whether the credentials were authenticated with a multi-factor authentication (MFA) device.
public SessionContext withAttributes(SessionContextAttributes attributes)
The date and time when the credentials were issued, and whether the credentials were authenticated with a multi-factor authentication (MFA) device.
attributes - The date and time when the credentials were issued, and whether the credentials were authenticated with a
multi-factor authentication (MFA) device.public void setSessionIssuer(SessionIssuer sessionIssuer)
The source and type of credentials that the entity obtained.
sessionIssuer - The source and type of credentials that the entity obtained.public SessionIssuer getSessionIssuer()
The source and type of credentials that the entity obtained.
public SessionContext withSessionIssuer(SessionIssuer sessionIssuer)
The source and type of credentials that the entity obtained.
sessionIssuer - The source and type of credentials that the entity obtained.public String toString()
toString in class ObjectObject.toString()public SessionContext clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.