@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsIamAccessKeySessionContextAttributes extends Object implements Serializable, Cloneable, StructuredPojo
Attributes of the session that the key was used for.
Constructor and Description |
---|
AwsIamAccessKeySessionContextAttributes() |
Modifier and Type | Method and Description |
---|---|
AwsIamAccessKeySessionContextAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getCreationDate()
Indicates when the session was created.
|
Boolean |
getMfaAuthenticated()
Indicates whether the session used multi-factor authentication (MFA).
|
int |
hashCode() |
Boolean |
isMfaAuthenticated()
Indicates whether the session used multi-factor authentication (MFA).
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationDate(String creationDate)
Indicates when the session was created.
|
void |
setMfaAuthenticated(Boolean mfaAuthenticated)
Indicates whether the session used multi-factor authentication (MFA).
|
String |
toString()
Returns a string representation of this object.
|
AwsIamAccessKeySessionContextAttributes |
withCreationDate(String creationDate)
Indicates when the session was created.
|
AwsIamAccessKeySessionContextAttributes |
withMfaAuthenticated(Boolean mfaAuthenticated)
Indicates whether the session used multi-factor authentication (MFA).
|
public AwsIamAccessKeySessionContextAttributes()
public void setMfaAuthenticated(Boolean mfaAuthenticated)
Indicates whether the session used multi-factor authentication (MFA).
mfaAuthenticated
- Indicates whether the session used multi-factor authentication (MFA).public Boolean getMfaAuthenticated()
Indicates whether the session used multi-factor authentication (MFA).
public AwsIamAccessKeySessionContextAttributes withMfaAuthenticated(Boolean mfaAuthenticated)
Indicates whether the session used multi-factor authentication (MFA).
mfaAuthenticated
- Indicates whether the session used multi-factor authentication (MFA).public Boolean isMfaAuthenticated()
Indicates whether the session used multi-factor authentication (MFA).
public void setCreationDate(String creationDate)
Indicates when the session was created.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
separated by T
. For example, 2020-03-22T13:22:13.933Z
.
creationDate
- Indicates when the session was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces, and date and time should be separated by T
. For
example, 2020-03-22T13:22:13.933Z
.
public String getCreationDate()
Indicates when the session was created.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
separated by T
. For example, 2020-03-22T13:22:13.933Z
.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces, and date and time should be separated by T
. For
example, 2020-03-22T13:22:13.933Z
.
public AwsIamAccessKeySessionContextAttributes withCreationDate(String creationDate)
Indicates when the session was created.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
separated by T
. For example, 2020-03-22T13:22:13.933Z
.
creationDate
- Indicates when the session was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces, and date and time should be separated by T
. For
example, 2020-03-22T13:22:13.933Z
.
public String toString()
toString
in class Object
Object.toString()
public AwsIamAccessKeySessionContextAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.