Class CreateStudioSessionMappingRequest

    • 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()

        The globally unique identifier (GUID) of the user or group from the IAM Identity Center Identity Store. For more information, see UserId and GroupId in the IAM Identity Center Identity Store API Reference. Either IdentityName or IdentityId must be specified, but not both.

        Returns:
        The globally unique identifier (GUID) of the user or group from the IAM Identity Center Identity Store. For more information, see UserId and GroupId in the IAM Identity Center Identity Store API Reference. Either IdentityName or IdentityId must be specified, but not both.
      • 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 or IdentityId 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 or IdentityId 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 return IdentityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from identityTypeAsString().

        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 return IdentityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from identityTypeAsString().

        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.
      • 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.
        Overrides:
        toString in class Object