Class CreateStudioSessionMappingRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.emr.model.EmrRequest
-
- software.amazon.awssdk.services.emr.model.CreateStudioSessionMappingRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<CreateStudioSessionMappingRequest.Builder,CreateStudioSessionMappingRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateStudioSessionMappingRequest extends EmrRequest implements ToCopyableBuilder<CreateStudioSessionMappingRequest.Builder,CreateStudioSessionMappingRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
CreateStudioSessionMappingRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.Map<String,SdkField<?>>
sdkFieldNameToField()
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.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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 to which the user or group will be mapped.
- Returns:
- The ID of the Amazon EMR Studio to which the user or group will be mapped.
-
identityId
public final String identityId()
-
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. Either
IdentityName
orIdentityId
must be specified, but not both.- Returns:
- 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
orIdentityId
must be specified, but not both.
-
identityType
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 returnIdentityType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromidentityTypeAsString()
.- Returns:
- Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.
- See Also:
IdentityType
-
identityTypeAsString
public 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 returnIdentityType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromidentityTypeAsString()
.- Returns:
- Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.
- See Also:
IdentityType
-
sessionPolicyArn
public 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.
- Returns:
- 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.
-
toBuilder
public CreateStudioSessionMappingRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<CreateStudioSessionMappingRequest.Builder,CreateStudioSessionMappingRequest>
- Specified by:
toBuilder
in classEmrRequest
-
builder
public static CreateStudioSessionMappingRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateStudioSessionMappingRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-