@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 that 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)
Marshalls this structured data using the given
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 Object
Object.toString()
public SessionContext clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.