@Generated(value="software.amazon.awssdk:codegen") public final class SessionMappingSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SessionMappingSummary.Builder,SessionMappingSummary>
Details for an Amazon EMR Studio session mapping. The details do not include the time the session mapping was last modified.
Modifier and Type | Class and Description |
---|---|
static interface |
SessionMappingSummary.Builder |
Modifier and Type | Method and Description |
---|---|
static SessionMappingSummary.Builder |
builder() |
Instant |
creationTime()
The time the session mapping was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
identityId()
The globally unique identifier (GUID) of the user or group from the AWS SSO Identity Store.
|
String |
identityName()
The name of the user or group.
|
IdentityType |
identityType()
Specifies whether the identity mapped to the Amazon EMR Studio is a user or a group.
|
String |
identityTypeAsString()
Specifies whether the identity mapped to the Amazon EMR Studio is a user or a group.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SessionMappingSummary.Builder> |
serializableBuilderClass() |
String |
sessionPolicyArn()
The Amazon Resource Name (ARN) of the session policy associated with the user or group.
|
String |
studioId()
The ID of the Amazon EMR Studio.
|
SessionMappingSummary.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public final String studioId()
The ID of the Amazon EMR Studio.
public final String identityId()
The globally unique identifier (GUID) of the user or group from the AWS SSO Identity Store.
public final String identityName()
The name of the user or group. For more information, see UserName and DisplayName in the AWS SSO Identity Store API Reference.
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, identityType
will
return IdentityType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
identityTypeAsString()
.
IdentityType
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, identityType
will
return IdentityType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
identityTypeAsString()
.
IdentityType
public final String sessionPolicyArn()
The Amazon Resource Name (ARN) of the session policy associated with the user or group.
public final Instant creationTime()
The time the session mapping was created.
public SessionMappingSummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SessionMappingSummary.Builder,SessionMappingSummary>
public static SessionMappingSummary.Builder builder()
public static Class<? extends SessionMappingSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()