Class SessionMappingDetail
- java.lang.Object
-
- software.amazon.awssdk.services.emr.model.SessionMappingDetail
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SessionMappingDetail.Builder,SessionMappingDetail>
@Generated("software.amazon.awssdk:codegen") public final class SessionMappingDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SessionMappingDetail.Builder,SessionMappingDetail>
Details for an Amazon EMR Studio session mapping including creation time, user or group ID, Studio ID, and so on.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSessionMappingDetail.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SessionMappingDetail.Builderbuilder()InstantcreationTime()The time the session mapping was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringidentityId()The globally unique identifier (GUID) of the user or group.StringidentityName()The name of the user or group.IdentityTypeidentityType()Specifies whether the identity mapped to the Amazon EMR Studio is a user or a group.StringidentityTypeAsString()Specifies whether the identity mapped to the Amazon EMR Studio is a user or a group.InstantlastModifiedTime()The time the session mapping was last modified.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SessionMappingDetail.Builder>serializableBuilderClass()StringsessionPolicyArn()The Amazon Resource Name (ARN) of the session policy associated with the user or group.StringstudioId()The ID of the Amazon EMR Studio.SessionMappingDetail.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
-
studioId
public final String studioId()
The ID of the Amazon EMR Studio.
- Returns:
- The ID of the Amazon EMR Studio.
-
identityId
public final String identityId()
The globally unique identifier (GUID) of the user or group.
- Returns:
- The globally unique identifier (GUID) of the user or group.
-
identityName
public final String identityName()
The name of the user or group. For more information, see UserName and DisplayName in the IAM Identity Center Identity Store API Reference.
- Returns:
- The name of the user or group. For more information, see UserName and DisplayName in the IAM Identity Center Identity Store API Reference.
-
identityType
public final IdentityType identityType()
Specifies whether the identity mapped to the Amazon EMR Studio is a user or a group.
If the service returns an enum value that is not available in the current SDK version,
identityTypewill returnIdentityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromidentityTypeAsString().- Returns:
- Specifies whether the identity mapped to the Amazon EMR Studio is a user or a group.
- See Also:
IdentityType
-
identityTypeAsString
public final String identityTypeAsString()
Specifies whether the identity mapped to the Amazon EMR Studio is a user or a group.
If the service returns an enum value that is not available in the current SDK version,
identityTypewill returnIdentityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromidentityTypeAsString().- Returns:
- Specifies whether the identity mapped to the Amazon EMR Studio is a user or a group.
- See Also:
IdentityType
-
sessionPolicyArn
public final String sessionPolicyArn()
The Amazon Resource Name (ARN) of the session policy associated with the user or group.
- Returns:
- The Amazon Resource Name (ARN) of the session policy associated with the user or group.
-
creationTime
public final Instant creationTime()
The time the session mapping was created.
- Returns:
- The time the session mapping was created.
-
lastModifiedTime
public final Instant lastModifiedTime()
The time the session mapping was last modified.
- Returns:
- The time the session mapping was last modified.
-
toBuilder
public SessionMappingDetail.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SessionMappingDetail.Builder,SessionMappingDetail>
-
builder
public static SessionMappingDetail.Builder builder()
-
serializableBuilderClass
public static Class<? extends SessionMappingDetail.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-