JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.elasticmapreduce.model

Class CreateStudioSessionMappingRequest

    • Constructor Detail

      • CreateStudioSessionMappingRequest

        public CreateStudioSessionMappingRequest()
    • Method Detail

      • setStudioId

        public void setStudioId(String studioId)

        The ID of the Amazon EMR Studio to which the user or group will be mapped.

        Parameters:
        studioId - The ID of the Amazon EMR Studio to which the user or group will be mapped.
      • getStudioId

        public String getStudioId()

        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.
      • withStudioId

        public CreateStudioSessionMappingRequest withStudioId(String studioId)

        The ID of the Amazon EMR Studio to which the user or group will be mapped.

        Parameters:
        studioId - The ID of the Amazon EMR Studio to which the user or group will be mapped.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setIdentityId

        public void setIdentityId(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.

        Parameters:
        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.
      • getIdentityId

        public String getIdentityId()

        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.
      • withIdentityId

        public CreateStudioSessionMappingRequest withIdentityId(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • setIdentityName

        public void setIdentityName(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.

        Parameters:
        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.
      • getIdentityName

        public String getIdentityName()

        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.
      • withIdentityName

        public CreateStudioSessionMappingRequest withIdentityName(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • setIdentityType

        public void setIdentityType(String identityType)

        Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.

        Parameters:
        identityType - Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.
        See Also:
        IdentityType
      • getIdentityType

        public String getIdentityType()

        Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.

        Returns:
        Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.
        See Also:
        IdentityType
      • withIdentityType

        public CreateStudioSessionMappingRequest withIdentityType(String identityType)

        Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.

        Parameters:
        identityType - Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IdentityType
      • withIdentityType

        public CreateStudioSessionMappingRequest withIdentityType(IdentityType identityType)

        Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.

        Parameters:
        identityType - Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IdentityType
      • setSessionPolicyArn

        public void setSessionPolicyArn(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.

        Parameters:
        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.
      • getSessionPolicyArn

        public String getSessionPolicyArn()

        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.
      • withSessionPolicyArn

        public CreateStudioSessionMappingRequest withSessionPolicyArn(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public 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
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /