@Generated(value="software.amazon.awssdk:codegen") public final class CreateStudioSessionMappingRequest extends EmrRequest implements ToCopyableBuilder<CreateStudioSessionMappingRequest.Builder,CreateStudioSessionMappingRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateStudioSessionMappingRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateStudioSessionMappingRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<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 IAM Identity Center Identity Store.
|
String |
identityName()
The name of the user or group.
|
IdentityType |
identityType()
Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.
|
String |
identityTypeAsString()
Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateStudioSessionMappingRequest.Builder> |
serializableBuilderClass() |
String |
sessionPolicyArn()
The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group.
|
String |
studioId()
The ID of the Amazon EMR Studio to which the user or group will be mapped.
|
CreateStudioSessionMappingRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String studioId()
The ID of the Amazon EMR Studio to which the user or group will be mapped.
public final String identityId()
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. Either IdentityName
or IdentityId must be specified, but not both.
IdentityName or IdentityId must be specified, but not both.public final IdentityType identityType()
Specifies whether the identity to map 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().
IdentityTypepublic final String identityTypeAsString()
Specifies whether the identity to map 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().
IdentityTypepublic final String sessionPolicyArn()
The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group. You should specify the ARN for the session policy that you want to apply, not the ARN of your user role. For more information, see Create an Amazon EMR Studio User Role with Session Policies.
public CreateStudioSessionMappingRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateStudioSessionMappingRequest.Builder,CreateStudioSessionMappingRequest>toBuilder in class EmrRequestpublic static CreateStudioSessionMappingRequest.Builder builder()
public static Class<? extends CreateStudioSessionMappingRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.