@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 were issued to the entity.
|
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 were issued to the entity.
|
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 were issued to the entity.
|
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 were issued to the entity.
sessionIssuer
- The source and type of credentials that were issued to the entity.public SessionIssuer getSessionIssuer()
The source and type of credentials that were issued to the entity.
public SessionContext withSessionIssuer(SessionIssuer sessionIssuer)
The source and type of credentials that were issued to the entity.
sessionIssuer
- The source and type of credentials that were issued to the entity.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.