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 interfaceCreateStudioSessionMappingRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateStudioSessionMappingRequest.Builderbuilder()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 from the IAM Identity Center Identity Store.StringidentityName()The name of the user or group.IdentityTypeidentityType()Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.StringidentityTypeAsString()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()StringsessionPolicyArn()The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group.StringstudioId()The ID of the Amazon EMR Studio to which the user or group will be mapped.CreateStudioSessionMappingRequest.BuildertoBuilder()StringtoString()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
IdentityNameorIdentityIdmust 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
IdentityNameorIdentityIdmust 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,
identityTypewill 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,
identityTypewill 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:
toBuilderin interfaceToCopyableBuilder<CreateStudioSessionMappingRequest.Builder,CreateStudioSessionMappingRequest>- Specified by:
toBuilderin classEmrRequest
-
builder
public static CreateStudioSessionMappingRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateStudioSessionMappingRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-