Class SessionContextAttributes
- java.lang.Object
-
- software.amazon.awssdk.services.macie2.model.SessionContextAttributes
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SessionContextAttributes.Builder,SessionContextAttributes>
@Generated("software.amazon.awssdk:codegen") public final class SessionContextAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SessionContextAttributes.Builder,SessionContextAttributes>
Provides information about the context in which temporary security credentials were issued to an entity.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSessionContextAttributes.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SessionContextAttributes.Builderbuilder()InstantcreationDate()The date and time, in UTC and ISO 8601 format, when the credentials were issued.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanmfaAuthenticated()Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.List<SdkField<?>>sdkFields()static Class<? extends SessionContextAttributes.Builder>serializableBuilderClass()SessionContextAttributes.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
creationDate
public final Instant creationDate()
The date and time, in UTC and ISO 8601 format, when the credentials were issued.
- Returns:
- The date and time, in UTC and ISO 8601 format, when the credentials were issued.
-
mfaAuthenticated
public final Boolean mfaAuthenticated()
Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.
- Returns:
- Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.
-
toBuilder
public SessionContextAttributes.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SessionContextAttributes.Builder,SessionContextAttributes>
-
builder
public static SessionContextAttributes.Builder builder()
-
serializableBuilderClass
public static Class<? extends SessionContextAttributes.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-